mysql -u root -p
use mysql
update user set host='%' where user='root';
flush privileges;
grant all privileges on test.* to root@'%';
mysql8.0报错解决方式:1449 - The user specified as a definer (‘root‘@‘%‘) does not exist
最新推荐文章于 2024-05-12 11:35:22 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)