2019獨角獸企業重金招聘Python工程師標準>>>
1.注掉bind-address
#bind-address = 127.0.0.1
2.開啟遠程訪問權限
grant all privileges on *.* to root@"xxx.xxx.xxx.xxx" identified by "密碼";
或
grant all privileges on *.* to root@"%" identified by "密碼";flush privileges;
"%"為匹配所有IP.