Author Topic: Warning: mysql_connect error  (Read 8524 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Warning: mysql_connect error
« 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)

Offline
*****
Re: Warning: mysql_connect error
« Reply #1 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.
You can ask me to solve any problem with your server for some money in pm  ;)
Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor
Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services