MySql 需要注册
- mysqld --install
- mysqld --initialize
- net start mysql
MySql 修改root密码
-
root 打开shell
.\mysqld --console --skip-grant-tables --shared-memory
-
另一个shell
$> mysql $> use mysql; $> flush privileges; $> ALTER USER 'root'@'localhost' IDENTIFIED BY 'nopass'; select host,user,plugin,authentication_string from mysql.user;