iGuest 3 Report post Posted August 12, 2011 Warning: mysql_pconnect() [function.mysql-pconnect]: Access denied for user 'Username'@'localhost' (using password: YES) in /var/www/niti/enq-module/passwordconfig.php on line 21Error connecting to database.Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'www-data'@'localhost' (using password: NO) in /var/www/niti/enq-module/passwordconfig.php on line 35Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /var/www/niti/enq-module/passwordconfig.php on line 35Error: User not config.I have these error in my config file. Share this post Link to post Share on other sites
rvalkass 5 Report post Posted August 12, 2011 You've got your username and password wrong when connecting to the database. Check your code to make sure they are set to the correct information. Share this post Link to post Share on other sites
OpaQue 15 Report post Posted August 12, 2011 Please make sure you have configured/created the Database Correctly. Each Database connection requires you to have :-Database user, Database Password and Database Name. Also, the Database user should have enough privileges to connect to your database. Share this post Link to post Share on other sites