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