mysql 启动失败
root@cooc1006:~# /etc/init.d/mysql status* MySQL is not running
root@cooc1006:~# /etc/init.d/mysql start
Starting MySQL
. * Manager of pid-file quit without updating file.
root@cooc1006:~# 不按要求置顶帖要求提供日志信息,没法说 你这是mysql启动不了,要提供mysql日志 这就是两个mysql 两个php的结果 用一键安装包安装出来就是这样
回复 4# 的帖子
root@cooc1006:/usr/local/mysql/var# cat cooc1006.err140729 14:32:40 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
140729 14:32:40 Fatal error: Can't change to run as user 'mysql' ;Please check that the user exists!
140729 14:32:40 Aborting
140729 14:32:40 /usr/local/mysql/libexec/mysqld: Shutdown complete
140729 14:32:40 mysqld_safe mysqld from pid file /usr/local/mysql/var/cooc1006.pid ended
root@cooc1006:/usr/local/mysql/var# tail -5 /etc/passwd
sshd:x:104:65534::/var/run/sshd:/usr/sbin/nologin
pollinate:x:105:1::/var/cache/pollinate:/bin/false
mclog:x:1000:1000:Ubuntu:/home/mclog:/bin/bash
mysql:x:1001:1001::/home/mysql:/sbin/nologin
www:x:1002:1002::/home/www:/sbin/nologin
[ 本帖最后由 cooc123 于 2014-7-29 14:35 编辑 ]
回复 6# 的帖子
rpm -qa|grep mysql 或dpkg -l|grep mysql 看一下回复 7# 的帖子
root@cooc1006:~# rpm -qa|grep mysqlThe program 'rpm' is currently not installed. You can install it by typing:
apt-get install rpm
root@cooc1006:~# dpkg -l|grep mysql
root@cooc1006:~# 目前来看不清楚什么原因
页:
[1]