问题如题,经过高手指点:其实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客户端成功~_~。 |
|