- cd /usr/local/mysql/bin
- sudo su
-ls
./mysqld_safe --skip-grant-tables &
新开一个窗口
mysql -u -root
update mysql.user set authentication_string=password(‘’) where user=‘root’;flush privileges;
无密码访问mysql
最新推荐文章于 2023-11-24 15:21:31 发布
关键词由CSDN通过智能技术生成