Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: gomafey on May 06, 2001, 11:52:55 PM
-
i try to connect to mysqldb with php.
i use a text files that contains my (host,login and passwords)
$host = "localhost";
$login = "root";
$password =" ";
php send me back this error message :
Warning: MySQL Connection Failed: Access denied for user: 'root@localhost' (Using password: YES) in /home/e-smith/files/primary/html/photos/photos2.php3 on line 13
-
You have to use the root password.
You can find it in /root/.my.cnf
Regards
-
yes it works
thank you