Control Web Panel
WebPanel => CentOS 6 Problems => Topic started by: chupy on January 16, 2019, 05:30:16 AM
-
I have this error. Can anybody help me with
Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/functions.php on line 0
Warning: mysqli_connect(): (HY000/2002): No such file or directory in /usr/local/cwpsrv/htdocs/admin/admin/index.php on line 0
Warning: mysqli_connect(): (HY000/2002): No such file or directory 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:
-
Let's begin from the beginning.
Did you already attempt to restart CentOS Web Panel with the "sh /scripts/restart_cwpsrv" command?
Did you already checked in the files '/usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php' and '/root/.my.cnf' if your mysql root password are the same..??
Did you already attempt to restart the mariadb/mysql server..?
What is your mariadb/mysql version..?
What is the context? Your server was working normally and suddenly it just stopped working alone ..? What happened..??
Regards,
Netino