OVH Community, your new community space.

Error in mysql remote conection


LawsHosting
23-01-2011, 15:57
So, you didn't Google before asking.

Answer may be in here: http://forums.mysql.com/read.php?52,...255#msg-151255

myxp
23-01-2011, 14:03
Quote Originally Posted by Myatu
Most likely you're using an incorrect username/password combination ($db_name vs. $username perhaps?).
No, They are correct.
Problem is from setting.

Myatu
23-01-2011, 13:50
Most likely you're using an incorrect username/password combination ($db_name vs. $username perhaps?).

myxp
23-01-2011, 10:46
When I try to connect to a remote database i get the error:

PHP Code:
$conn mysql_connect($address,$db_name,$password); 
error:
PHP Code:
Warningmysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet'system error110