mysql使用临时密码登录不进去mysql: [Warning] Using a password on the command line interface can be insecure
1.在root用户下,停止mysqlservice mysqld stop2.vi /etc/my.cnf在[mysqld]的段中加上一句skip-grant-tables[mysqld]skip-grant-tablesshift+z+z;保存退出3.重新启动mysqlsystemctl start mysqld3.登录修改mysql 的密码[root@python2 hadoop]# mysql -uroot -pEnter password:一直敲...
转载
2021-06-25 22:02:54 ·
2108 阅读 ·
1 评论