安装配置

1安装服务:mysqld --install

2初始化: mysqld --initialize --console

3开启服务:net start mysql

4关闭服务:net stop mysql

5登录mysql:mysql -u root -p

Enter PassWord:(密码)

6修改密码:alter user 'root'@'localhost' identified with mysql_native_password by ;(by 接着的是密码)

 

 

posted @ 2021-08-02 09:42  昌尐  阅读(33)  评论(0编辑  收藏  举报