摘要: 一、连接数据库 mysql -u root -p // 在下一行输入密码 二、为root用户开启远程连接mysql数据库(注意要带分号) grant all privileges on *.* to 'root'@'%' identified by 'root' with grant option; 阅读全文