windows下开启mysql远程访问
USE mysql;
SELECT * FROM USER ;直接修改user=root host=127.0.0.1为%
FLUSH PRIVILEGES;

欢迎进qq群交流:704028989