码迷,mamicode.com
首页 > 数据库 > 详细

启动mysql报错

时间:2018-07-04 18:58:07      阅读:142      评论:0      收藏:0      [点我收藏+]

标签:art   with   MySQL报错   upd   host   cal   tin   ...   ogg   

启动mysqld 报错
[root@localhost ~]# service mysqld start
Starting MySQL.Logging to ‘/etc/mysql/localhost.localdomain.err‘.
.... ERROR! The server quit without updating PID file (/etc/mysql/localhost.localdomain.pid).

解决方法:
是/etc/my.cnf 文件 的datadir=/etc/mysql 改为 datadir=/data/mysql

启动mysql报错

标签:art   with   MySQL报错   upd   host   cal   tin   ...   ogg   

原文地址:http://blog.51cto.com/461565/2136225

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!