bin目录下 管理员CMD
mysqld --initialize --console
并记录生成的用户密码root的随机密码
mysqld --install
net start mysql
mysql -u root -p
alter user ‘root’@‘localhost’ identified by ‘123456’;
mysql8.0安装
于 2022-05-25 15:00:23 首次发布
bin目录下 管理员CMD
mysqld --initialize --console
并记录生成的用户密码root的随机密码
mysqld --install
net start mysql
mysql -u root -p
alter user ‘root’@‘localhost’ identified by ‘123456’;