centos mysql安裝配置

?

[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)

?

? 版權聲明
THE END
喜歡就支持一下吧
點贊6 分享