登录密码:123456
进入mysql的bin目录
cd D:\zsh\mysql\mysql-8.0.31-winx64\bin
在MySQL目录下的bin目录下执行命令:
mysqld --initialize --console
安装mysql服务
mysqld --install mysql
启动mysql服务
net start mysql
连接mysql
mysql -uroot -p
进入mysql输入以下命令修改密码(把新的密码修改成你想要的密码)
ALTER USER 'root'@'localhost' IDENTIFIED BY '新的密码';
参考链接:
Mysqlworkbench汉化步骤
https://blog.youkuaiyun.com/weixin_51647998/article/details/126009505
mysql的基本操作
https://blog.youkuaiyun.com/weixin_45851945/article/details/114287877
mysql导入数据的方法
https://huaweicloud.youkuaiyun.com/63355048d3efff3090b53fb5.html
MySQLWorkbench 打不开解决方法
https://blog.youkuaiyun.com/qq_38264939/article/details/124824802