Connect PhpStorm with mysql from 000webhost.com
Hi I'm new using PhpStorm and love it! I could connect to the files from the server www.000webhosting.com. But now I want to connect to mysql on the same server, but I could not!
I use this for the connection: jdbc:mysql://mysql3.000webhost.com:3306/a7874737_test
Anybody could help me with that? Thanks!
Please sign in to leave a comment.
Hi Amadeus,
The question is -- do they (hosting company) allowing direct connections to MySQL database from outside network (internet)? Almost every shared hosting company does not allow this for performance and security reasons -- you can only connect to MySQL database from within your code which runs on server. If the above is the case (which should be) then you simply cannot access database directly from your computer regadless of the client used (be it PhpStorm or another IDE/software).
I think you're right Andriy, because i could connect PhpStorm with mysql on localhost, in my computer! like you said it could be security reasons! Thanks for responding so soon! Thanks a lot! :)