本文摘自PHP中文网,作者PHP中文网,侵删。
[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安装配置的详细内容,更多文章请关注木庄网络博客!
相关阅读 >>
你知道CentOS linux和CentOS stream应该用哪个吗?
更多相关阅读请进入《CentOS》频道 >>