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端口

posted @ 2020-10-28 10:28  蝶墨轩冕  阅读(47)  评论(0编辑  收藏  举报