mysql升级到8之后的注意事项
1.用mysql5.7备份的数据库文件,用mysql8还原之后涉及到函数使用的时候报错问题
解决办法:
set GLOBAL log_bin_trust_function_creators = 1;
2.mysql8.0版本的这个错误:The user specified as a definer (‘root’@’%’) does not exist用下面这个sql执行报错。
grant all privileges on *.* to root@'%' identified by '.';
flush
原创
2021-02-28 19:24:39 ·
162 阅读 ·
0 评论