cooc123 发表于 2014-7-24 15:46:00

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:~#

licess 发表于 2014-7-24 17:19:09

不按要求置顶帖要求提供日志信息,没法说

cooc123 发表于 2014-7-25 09:37:15

licess 发表于 2014-7-25 10:50:28

你这是mysql启动不了,要提供mysql日志

txlife 发表于 2014-7-25 16:24:59

这就是两个mysql 两个php的结果 用一键安装包安装出来就是这样

cooc123 发表于 2014-7-29 14:26:08

回复 4# 的帖子

root@cooc1006:/usr/local/mysql/var# cat cooc1006.err
140729 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 编辑 ]

licess 发表于 2014-7-29 21:54:57

回复 6# 的帖子

rpm -qa|grep mysql 或dpkg -l|grep mysql 看一下

cooc123 发表于 2014-7-31 13:50:01

回复 7# 的帖子

root@cooc1006:~# rpm -qa|grep mysql
The program 'rpm' is currently not installed. You can install it by typing:
apt-get install rpm
root@cooc1006:~# dpkg -l|grep mysql
root@cooc1006:~#

licess 发表于 2014-7-31 16:27:00

目前来看不清楚什么原因
页: [1]
查看完整版本: mysql 启动失败