cancel
Showing results for 
Search instead for 
Did you mean: 

connecting to mysql using php

N/A

connecting to mysql using php

How do i connect ot mysql please my php file gives me this errors
Warning: mysql_connect(): Access denied for user: 'root@cgi03.force9.net' (Using password: YES) in /files/home/abilityint/php/remote_sql.php on line 13

Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in /files/home/abilityint/php/remote_sql.php on line 14
1 REPLY
N/A

connecting to mysql using php

You shouldn't be trying to connect as root, for a start. Your username is the same as your account username, and the password is emailed to you when you enable mysql.