Connect to MySql database


I’m trying to connect to my mysql db (free account) from my computer (with a simple php script). But it failed… and I don’t know why. Is it possible to reach (I suppose) the databse outside the current website ? I mean, can I query my databse from another script PHP on the Internet for example.

I make my test simple by using msqli object, and with the given credentials.


Remote MySQL is not supported on free hosting. If you want it please consider upgrading to Premium Hosting as it offers many features.

1 Like

Oh ok, thank you !

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.