欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  运维

centos mysql安装配置

程序员文章站 2022-03-18 11:49:57
...
 

[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安装配置的详细内容,更多请关注其它相关文章!