vim /etc/my.cnf
在[mysqld]下添加 skip-grant-tables
然后重启mysql
mysql 去除密码登录
猜你喜欢
转载自blog.csdn.net/jinxinxin1314/article/details/105196670
今日推荐
周排行