mysql添加远程权限 mysql -u root -p grant all privileges on *.* to root@'%' identified by "password"; flush privileges;