分享

mysql安装提示:invoke-rc.d: initscript mysql, action "start" failed

 昵称lSEFg 2014-06-13
问题如题,经过高手指点:其实mysql是已经安装完毕了,这是因为权限的问题,导致mysqld启动不了,需要将mysql用户加入inet组vi /etc/group找到inet行,把mysql的用户加到最后就可以了:
inet:x:3003:root,mysql
net_raw:x:3004:root,mysql
注意:root与myql之间的是“,”。
root@localhost:~# mysqld &
700101  3:19:48 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
[1] 5657
 
root@localhost:~# ps aux |grep mysql
mysql     5657  0.1  3.0 314208 31828 pts/0    Sl   03:19   0:00 mysqld
root      5679  0.0  0.0   4964   664 pts/0    S+   03:27   0:00 grep --color=auto mysql
启动mysql服务成功~_~
root@localhost:~# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.5.37-0ubuntu0.13.10.1 (Ubuntu)
Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql>
启动mysql客户端成功~_~。

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多