mysql下载后的初次使用
MYSQL初始化命令⽂档
2.初始化mysql: mysqld --initialize
3.安装mysql服务:mysqld --install
4.启动服务:net start mysql (初次登陆密码在data⽬录'.err'⽂件‘root@localhost’后,之后修改密码)
5.登录:mysql -uroot -p[密码]
6.修改加密规则: alter user 'root'@'localhost' identified by 'password' password expire never
7.修改密码: alter user 'root'@'localhost' identified with mysql_native_password by '[密码]'
8.登出:ctrl+Z
9.停⽌服务:net stop mysql

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。