日期:2014-05-16 浏览次数:20817 次
mysql -u root -pvmwaremysql>use mysql;mysql>update user set host = '%' where user = 'root'; GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword' WITH GRANT OPTION; flush privileges;