1.配置环境变量到bin下
2.mysqld --initialize-insecure --user=mysql
3.mysqld -install
4.net start MySQL
5.mysql -u root -p
6.select host,user,authentication_string from mysql.user;
7.ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘新密码’;
end
1.配置环境变量到bin下
2.mysqld --initialize-insecure --user=mysql
3.mysqld -install
4.net start MySQL
5.mysql -u root -p
6.select host,user,authentication_string from mysql.user;
7.ALTER USER ‘root’@‘localhost’ IDENTIFIED BY ‘新密码’;
end