84 和 BudgetVM centos 6 32bit 安装完毕以后打开 后台提示 无法连接mysql,请检查mysql是否已启动及用户密码是否设置正确!:
chown: invalid user: `mysql.mysql'
Starting MySQL. ERROR! Manager of pid-file quit without updating file.
/www/wdlinux/mysql/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) '
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mys ql.sock' (2)
Starting httpd: [ OK ]
Starting nginx: [ OK ]
Starting httpd: [ OK ]
Starting pure-config.pl: Running: /usr/sbin/pure-ftpd --daemonize -S21 -A -c50 - B -C8 -D -E -fftp -H -I15 -L10000:8 -m4 -s -U133:022 -u100 -k99 -Z -lunix -p2000 0:20500 -lmysql:/www/wdlinux/etc/pureftpd-mysql.conf
============ lanmp_wdcp install OK ==============
configuration ,lamp or lnmp,wdcp install is finshed
visit http://ip
wdcp visit http://ip:8080
more infomation please visit http://www.wdlinux.cn作者: admin 时间: 2013-1-22 18:51
mysql没有安装完整
执行如下
groupadd -g 27 mysql
useradd -g 27 -u 27 -d /dev/null -s /sbin/nologin mysql
chown -R mysql.mysql /www/wdlinux/mysql/var
复制代码
再启动
service mysqld restart
试试作者: newcb 时间: 2013-3-15 20:42