linux服务器下,mysql环境配置

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:26  蝶墨轩冕  阅读(84)  评论(0编辑  收藏  举报