Control Web Panel

WebPanel => Information => Topic started by: erm3nda on September 13, 2014, 08:28:48 AM

Title: Outdated info over mysql conection error cwp panel
Post by: erm3nda on September 13, 2014, 08:28:48 AM
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.
Title: Re: Outdated info over mysql conection error cwp panel
Post by: Administrator on September 13, 2014, 06:30:02 PM
updated, it fill be fixed with new version.
Title: Re: Outdated info over mysql conection error cwp panel
Post by: apmuthu on November 05, 2014, 04:32:37 PM
Other than in phpMyAdmin, where can we change the MySQL root password in the CWP?
Title: Re: Outdated info over mysql conection error cwp panel
Post by: Administrator on November 07, 2014, 02:13:10 AM
mysql root password needs to be changed from the shell at the moment.
Title: Re: Outdated info over mysql conection error cwp panel
Post by: cacedicam on April 08, 2015, 05:08:27 PM
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
Title: Re: Outdated info over mysql conection error cwp panel
Post by: erm3nda on April 09, 2015, 03:45:44 AM
Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf

Check if both matches.
Title: Re: Outdated info over mysql conection error cwp panel
Post by: Administrator on April 09, 2015, 04:52:52 PM
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.