I use require_once(‘/home/zzz/public_html/database/database.php’);
to connect to another db.
But i get an error:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user ‘user’@’localhost’ (using password: YES) in /home/zz/public_html/database/database.php on line 11
Could not connect to MySQL1:
If i include thise file from single php – it’s work.
Where is a problem?
- The topic ‘mysql_connect() Access denied for user’ is closed to new replies.