Outdated info over mysql conection error cwp panel

Started by erm3nda, September 13, 2014, 08:28:48 AM

Previous topic - Next topic

erm3nda

When you play/change/lost your mysql password, a message is displayed:

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

The file db_conn.php is located in /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php in my case.

I have experienced problems with that, in example i changed root password and NO dabases where listed. The rest of webpanel remain working. Now i set again all passwords and is working fine :D

Regardas.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Administrator


apmuthu

Other than in phpMyAdmin, where can we change the MySQL root password in the CWP?

Administrator

mysql root password needs to be changed from the shell at the moment.

cacedicam

hi
i have same error
Warning: mysql_connect(): No such file or directory in /usr/local/cwpsrv/htdocs/admin/index.php(1) : eval()'d code(1) : eval()'d code on line 2
mysqld dead but pid file exists

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: No such file or directory

erm3nda

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

Check if both matches.
8==D it's a function that try to compare 8 (int) against D (string) which returns True or False depending on the asker.

Administrator

looks like you server is dead, you will need to restart mysql and check mysql log file.
It would be the best to check on that with your hosting provider or support.