MySQL 数据库设置成局域网或者远程可链接访问

use mysql;
set sql_safe_updates = 0;
update user set host='%' where user='root';
flush privileges;

以上命令直接用于MYSQL命令栏里运行即可
3b046174-faa1-4162-afff-7a11a5a80112.png

此处评论已关闭