Ubuntu Server 12.04LTS的MySQL无法启动!!!

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
头像
十月流星
帖子: 19
注册时间: 2010-02-02 11:01

Ubuntu Server 12.04LTS的MySQL无法启动!!!

#1

帖子 十月流星 » 2012-06-20 17:53

安装Ubuntu Server 12.04 LTS时,选择LAMP包直接安装,安装完成后,使用/etc/init.d/mysql start显示mysql不能启动,错误如下,排查了原因也没有找出来,我没有动配置文件呀,什么原因?
错误代码:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service mysql start

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the start(8) utility, e.g. start mysql
start: Job failed to start

启动的时候,显示的就是如上所示问题,期待!!!谢谢~
头像
枫叶饭团
帖子: 14683
注册时间: 2010-06-16 1:05
系统: Mac OS X
来自: Tencent
联系:

Re: Ubuntu Server 12.04LTS的MySQL无法启动!!!

#2

帖子 枫叶饭团 » 2012-06-20 18:00

you may also use the start(8) utility, e.g. start mysql
不懂,求解释
蜗牛慢步
帖子: 1
注册时间: 2012-07-27 10:23

Re: Ubuntu Server 12.04LTS的MySQL无法启动!!!

#3

帖子 蜗牛慢步 » 2012-07-27 10:28

您好!我也遇到同样的问题,请问您解决了吗?
glacier02
帖子: 1
注册时间: 2012-10-04 22:28
系统: win7

Re: Ubuntu Server 12.04LTS的MySQL无法启动!!!

#4

帖子 glacier02 » 2012-10-04 22:46

我也遇到,我是数据库位置转移了,有帮解答的没?
scofield929
帖子: 5
注册时间: 2009-02-17 15:24

Re: Ubuntu Server 12.04LTS的MySQL无法启动!!!

#5

帖子 scofield929 » 2012-10-18 14:56

/lamp/lamp startmysql
ago1414
帖子: 91
注册时间: 2008-11-22 9:38

Re: Ubuntu Server 12.04LTS的MySQL无法启动!!!

#6

帖子 ago1414 » 2012-10-21 11:50

你用套建裝起來 請看一下 安裝位置在哪邊

ls /etc/init.d 會有 mysql 該script 檔案嗎?


不然就去看一下 /var/log/ 看一下 mysql 的log檔案
opubuntu
帖子: 1
注册时间: 2012-10-26 4:19
系统: Ubuntu12.04 LTS

Re: Ubuntu Server 12.04LTS的MySQL无法启动!!!

#7

帖子 opubuntu » 2012-10-26 4:20

试试sudo service mysql start
回复