日期:2014-05-16 浏览次数:20669 次
一、开启Mysql远程连接
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root123' WITH GRANT OPTION;
?二、修改mysql密码
?
UPDATE mysql.`user` SET PASSWORD=PASSWORD('root123') WHERE USER='root'