centOS 6.4 mysql安装

原文链接: http://www.cnblogs.com/flex_fly/p/3188143.html

1 直接安装

 yum install mysql mysql-server

2 启动mysql  

/usr/bin/mysqld_safe --user=mysql &

启动时,如果出现Can't ... socket 字样,则说明 mysql 未启动,使用

命令: service mysqld restart   #启动mysql  

  

3 直接输入命令 mysql  ,如果能直接进去就安装成功!!!

参考  http://www.justwinit.cn/post/5337/

扫描二维码关注公众号,回复: 6769188 查看本文章

转载于:https://www.cnblogs.com/flex_fly/p/3188143.html

猜你喜欢

转载自blog.csdn.net/weixin_30455067/article/details/94787564