Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: pandamedya on April 30, 2020, 04:21:45 PM

Title: HELP Me Plz? my cwppro is not working
Post by: pandamedya on April 30, 2020, 04:21:45 PM
Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'postfix'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'postfix'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0

Warning: mysqli_connect(): (HY000/1045): Access denied for user 'root'@'localhost' (using password: YES) in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0


Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: sh /scripts/restart_cwpsrv

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


Warning: mysqli_error() expects exactly 1 parameter, 0 given in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Could not connect:
Title: Re: HELP Me Plz? my cwppro is not working
Post by: Sandeep on April 30, 2020, 05:41:21 PM
did you changed the mysql root password ?
Title: Re: HELP Me Plz? my cwppro is not working
Post by: charlyschmidt on May 03, 2020, 08:23:18 PM
did you changed the mysql root password ?

(https://ibb.co/1zkhwLM)
I have the same problem. I did not change the root/mysql password.
Title: Re: HELP Me Plz? my cwppro is not working
Post by: legija on May 03, 2020, 09:01:17 PM
/scripts/mysql_pwd_reset

Copy pass stored in /root/.my.cnf

Should work.