This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
361
CentOS-WebPanel GUI / Re: Warning: mysqli_connect(): (HY000/1045) etc etc
« on: July 20, 2020, 04:15:47 AM »
OK. all of my websites came back. But the admin login page still gives me the white screen below. Odd that all databases are working but cwp database.
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:
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:
362
CentOS-WebPanel GUI / Re: Warning: mysqli_connect(): (HY000/1045) etc etc
« on: July 20, 2020, 04:04:05 AM »
It took me a day to track it down but I finally found the solution. You need to delete or rename the tc.log file in /var/lib/mysql
First shut down mysql then delete, then restart mysql. Everything came back to me.
I have to say that this all happened because I uploaded a filed that (long story short) got into a loop that ended up completely filling up my hard drive. After that, I was dead in the water with any db sites. Now all is well.
First shut down mysql then delete, then restart mysql. Everything came back to me.
I have to say that this all happened because I uploaded a filed that (long story short) got into a loop that ended up completely filling up my hard drive. After that, I was dead in the water with any db sites. Now all is well.
