Control Web Panel

WebPanel => CentOS-WebPanel GUI => Topic started by: alierenerdal on December 28, 2015, 08:10:04 AM

Title: I can't list and cant' create databases on the cwp since mysql root changing
Post by: alierenerdal on December 28, 2015, 08:10:04 AM
Please help me;
Recently i changed mysql root password
due to wordpress exploits, i changed database settings db config file on include directory, but cwp database modules doesn't working.

I can't list and can't create databases.
Its redirecting to database showing page after creating database not giving any error and database list is empty please help me!

(http://i64.tinypic.com/27wu5w3.jpg)
(http://i68.tinypic.com/htch9g.jpg)
Title: Re: I can't list and cant' create databases on the cwp since mysql root changing
Post by: Igor S. on December 29, 2015, 09:56:59 AM
Hi,

for the password changing use /scripts/mysql_pwd_reset script. Or, if you have already changed password, change it in two config files:
Code: [Select]
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
/root/.my.cnf
Title: Re: I can't list and cant' create databases on the cwp since mysql root changing
Post by: alierenerdal on December 29, 2015, 10:49:19 AM
Hi,

for the password changing use /scripts/mysql_pwd_reset script. Or, if you have already changed password, change it in two config files:
Code: [Select]
/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php
/root/.my.cnf

Thank you very much "mysql_pwd_reset script"  is solved my issue.

Happy Forums!.
Happy New Years!
Title: Re: I can't list and cant' create databases on the cwp since mysql root changing
Post by: Igor S. on December 29, 2015, 12:43:30 PM
You're welcome.

Happy New Years and Merry Christmas!