当前位置: 技术问答>linux和unix
在线等,mysql安装的问题。
来源: 互联网 发布时间:2016-01-30
本文导语: 运行 /usr/local/mysql/bin/mysqld_safe --user=mysql & 出错! [root@localhost mysql]# Starting mysqld daemon with databases from /usr/local/mysql/data STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid 070628 17:22:53 mysqld ended ...
运行 /usr/local/mysql/bin/mysqld_safe --user=mysql & 出错!
[root@localhost mysql]# Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid
070628 17:22:53 mysqld ended
该怎么解决啊?
[root@localhost mysql]# Starting mysqld daemon with databases from /usr/local/mysql/data
STOPPING server from pid file /usr/local/mysql/data/localhost.localdomain.pid
070628 17:22:53 mysqld ended
该怎么解决啊?
|
1、看看日志
一般在/var/lib/mysql下
2、试一下这样启动:
/etc/init.d/mysql start
一般在/var/lib/mysql下
2、试一下这样启动:
/etc/init.d/mysql start