启动wpiauncher(Web 平台安装程序4.6)。mysql
单击 <产品>,选择 <数据库>,单击“MySQL Windows 5.1”旁边的 <添加>,而后单击 <安装>。sql
输入root账户密码,而后单击 <继续>。数据库
MySQLfor Windows 5.1 将完成安装。服务器
使用管理员权限打开Cmd,输入如下命令:ide
mysql -u root –pspa
输入密码:*******3d
GRANT ALL PRIVILEGES ON *.* TO'root'@'%' IDENTIFIED BY 'Pass@word1$' WITH GRANT OPTION; FLUSH PRIVILEGES;blog
use mysql;get
update user set grant_priv='Y'where user='root';产品
验证已经执行update user命令以后,键入退出命令:
exit;
从新启动mysql命令:
net stop mysql
net start mysql