Control Web Panel
WebPanel => MySQL => Topic started by: xdiag on December 12, 2015, 07:01:45 PM
-
A bad english please bakamy the first defect
I met such questions when trying to update MySQL , please help
Centos web panel error message
Warning: mysql_connect(): No such file or directory in /usr/local/cwpsrv/htdocs/admin/index.php(1) : eval()'d code(1) : eval()'d code on line 2
Trying to start mysql server, please wait!
Try to restart CentOS Web Panel with command: service cwpsrv restart
**Check your MySQL root password in: /usr/local/cwpsrv/htdocs/resources/admin/include/db_conn.php and /root/.my.cnf
Could not connect: No such file or directory
He gave up trying to start from ssh error
[root@server ~]# mysql start
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib /mysql/mysql.sock' (2)
-
I had asimilar issue turned out my server sysytem files were getting full, check you disk usage with the command below
df -h
Then if thats the case delete old files such has /tmp and /var/logs
You could use the below command to list by size.
# du -x / |sort -rnb |more