给数据库增加连接权限

grant all on . to “root”@“192.168.8.%” IDENTIFIED by ‘123456’;
flush PRIVILEGES;

你可能感兴趣的:(mysql)