MySQL Connections problems

darlanart

Well-Known Member
Sep 15, 2011
98
0
56
cPanel Access Level
DataCenter Provider
Hello,

I'm have two problems...

I cant connect with remotely MySQL Server. It seems that the server always wants to connect on localhost.
An example:
/http://192.168.110.24/~dapelle/php/home.php

And the other problem is that, seems that PHP does not recognize the users of the MySQL database with "_", created by cPanel and the user tries to connect to the host. Example:

/http://www.toastrestobar.com.br/teste_mysql.php

Thanks!!
Darlan
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,908
2,218
463
Hello :)

What do you have configured for MySQL host, database name, and database username in the configuration file of your PHP application? Feel free to use examples matching the information instead of the actual data.

Thank you.