1.首先:要先进入mysql官网里(Mysql的官网–>https://www.mysql.com/)
直达链接:https://dev.mysql.com/downloads/mysql/
2.下载完成后,解压,
mysqld –install
初始化:mysqld --initialize –console
开启服务:net start mysql
关闭服务:net stop mysql
登录mysql:mysql -u root -p // 回车输入密码
修改密码:alter user ‘root’@‘localhost’ identified by ‘root’;(by 接着的是密码)
标记删除mysql服务:sc delete mysql