MySQL :
1.安装mysql服务:mysqld install
2.删除mysql服务:sc delete mysql
3.启动mysql服务:net start mysql
4.初始化设置密码:
mysql -u root mysql> use mysql; mysql> UPDATE user SET Password = PASSWORD(‘newpass’) WHERE user = ‘root’; mysql> FLUSH PRIVILEGES; mysql>QUIT本文共 299 字,大约阅读时间需要 1 分钟。
MySQL :
1.安装mysql服务:mysqld install
2.删除mysql服务:sc delete mysql
3.启动mysql服务:net start mysql
4.初始化设置密码:
mysql -u root mysql> use mysql; mysql> UPDATE user SET Password = PASSWORD(‘newpass’) WHERE user = ‘root’; mysql> FLUSH PRIVILEGES; mysql>QUIT转载于:https://www.cnblogs.com/ggqzz/p/8421735.html