Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: Wjatscheslaw on August 28, 2019, 08:04:11 AM

Title: Mysql error - HY000/1045
Post by: Wjatscheslaw on August 28, 2019, 08:04:11 AM
I had chancheg my password to mysql and I get this error message...

How to fix this?


Quote
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 '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: Mysql error - HY000/1045
Post by: Wjatscheslaw on August 28, 2019, 09:23:49 AM
I tried to reset password, but with no result's...