Control Web Panel

WebPanel => Installation => Topic started by: ea430 on December 18, 2015, 04:44:59 PM

Title: Warning: mysql_connect error
Post by: ea430 on December 18, 2015, 04:44:59 PM
Warning: mysql_connect(): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/admin/index.php(1) : eval()'d code(1) : eval()'d code on line 2
mysqld (pid 24743) is running...

Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: service cwpsrv restart

**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf

Could not connect: Access denied for user 'root'@'localhost' (using password: YES)
Title: Re: Warning: mysql_connect error
Post by: Igor S. on December 22, 2015, 06:11:44 PM
Hi,

Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf . It must be an actual root password for MySQL.