美文网首页
centos/linux 6.5下安装mysql

centos/linux 6.5下安装mysql

作者: 大白乐了 | 来源:发表于2019-07-14 21:51 被阅读0次

1.yum install mysql-server
2.service mysqd start
3.mysql
4.use mysql
5.select host,user,password from user
6.grant all privileges on . to 'root'@'%' identified by 'thinker' with grant option;
7.flush privileges (或者 service mysqld restart)

  1. chkconfig mysqld on (设置mysqld服务开机启动)

相关文章

网友评论

      本文标题:centos/linux 6.5下安装mysql

      本文链接:https://www.haomeiwen.com/subject/onzikctx.html