提问三步曲: 提问先看教程/FAQ索引(wdcp,wdcp_v3,一键包)及搜索,会让你更快解决问题
1 提供详细,如系统版本,wdcp版本,软件版本等及错误的详细信息,贴上论坛或截图发论坛
2 做过哪些操作或改动设置等
温馨提示:信息不详,很可能会没人理你!论坛有教程说明的,也可能没人理!因为,你懂的
[root@VM_138_84_centos ~]# /etc/rc.d/init.d/mysqld status
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
[root@VM_138_84_centos ~]# mysql -u root -p -s /tmp/mysql.sock
Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
[root@VM_138_84_centos ~]# service mysqld start
Starting MySQL. ERROR! The server quit without updating PID file (/www/wdlinux/mysql-5.6.42/ data/VM_138_84_centos.pid).
[root@VM_138_84_centos ~]# ^C
[root@VM_138_84_centos ~]# chown -R mysql:mysql /www/wdlinux/mysql-5.6.42
[root@VM_138_84_centos ~]# service mysqld start
Starting MySQL. SUCCESS!
[root@VM_138_84_centos ~]# ls
conf inf lanmp.sh lanmp_v3.3.tar.gz lib logs src
[root@VM_138_84_centos ~]# sh /www/wdlinux/wdcp/shell/mysqlrootchp.sh
Repairing...
Warning: Using a password on the command line interface can be insecure.
Shutting down MySQL. SUCCESS!
Starting MySQL. SUCCESS! |