看mysql.users表的root账号是否有密码为空的select*frommysql.userwhereuser='root';`
select*frommysql.userwhereuser='root';
1、创建一个用户并授权grantselect,insert,update,deleteondb.*tousername@'10.%'identifiedby'passwd';2、防火墙开放3306端口
db.*
username
'passwd'