[root@localhost ~]# yum install -y mysql-server mysql mysql-devel
[root@localhost ~]# service mysqld start
mysql> grant all privileges on *.* to 'root'@'192.168.0.100' identified by 'password' with grant option;
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
以上就是centos mysql安装配置的详细内容,更多请关注php中文网其它相关文章!
已抢16598个
抢已抢49554个
抢已抢16892个
抢已抢8993个
抢已抢4587个
抢已抢4606个
抢