【mysql】开启远程连接

设置root用户可以远程连接

use mysql;

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

FLUSH PRIVILEGES;
原文地址:https://www.cnblogs.com/xiaostudy/p/11606328.html