远程链接MySQLmysql -u root -p grant all privileges on *.* to 'root'@'%' identified by '数据库密码'; flush privileges;复制