MySQL Front远程连接数据库

连接前需要先配置一下服务器端的数据库

进入mysql数据库,选择mysql

mysql> use mysql;

选择 host 表

mysql> select host from user;

更新 host, 然后退出。

mysql> update user set host = '%' where user='root';

重启数据库, 完成。

# service mysqld restart
posted @ 2020-04-07 20:47  两小无猜  阅读(547)  评论(0编辑  收藏  举报