linux-centos7服务下,对mysql5.7环境配置
mysql远程连接配置
mysql> grant all privileges on *.* to root@'%' identified by "password";
Query OK, 0 rows affected, 1 warning (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
注意:开放3306端口
mysql远程连接配置
mysql> grant all privileges on *.* to root@'%' identified by "password";
Query OK, 0 rows affected, 1 warning (0.01 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.01 sec)
注意:开放3306端口