Author Topic: Mysql Issue: Warning: mysqli_error()  (Read 4091 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Mysql Issue: Warning: mysqli_error()
« on: March 28, 2020, 07:13:12 PM »
I restarted a server during backup as hard disk was full. However upon restarting the db seems to be down no matter what I try. I even tried resetting mysql pass...unistalling and installing mariadb but all fails. The error is as follow:



Code: [Select]
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:

Re: Mysql Issue: Warning: mysqli_error()
« Reply #1 on: March 28, 2020, 07:27:59 PM »
All your files in one filesystem? A recipe for disaster if the disc should fill up.
Could well be a database corruption; I do hope you have backups of your users, as a rebuild may be in order.

Offline
*****
Re: Mysql Issue: Warning: mysqli_error()
« Reply #2 on: March 29, 2020, 08:55:26 AM »
contact support for the checks.