1,安装完后----进入mysql---进入bin---进行cmd运行
2,进入数据库命令,没有密码
mysql -hlocalhost -uroot -p
3,设置密码
set password for 'root'@'localhost'=password('newpasswd');
4,其他方法
https://blog.csdn.net/Keith003/article/details/81132346
1,安装完后----进入mysql---进入bin---进行cmd运行
2,进入数据库命令,没有密码
mysql -hlocalhost -uroot -p
3,设置密码
set password for 'root'@'localhost'=password('newpasswd');
4,其他方法
https://blog.csdn.net/Keith003/article/details/81132346