在升级完后,导入以前备份的数据mysql
1.导入数据时报错, Cannot load from mysql.proc. The table is probably corrupted,这个是升级版本致使的。sql
解决办法:mysql_upgrade -u root -pless
2.完整导出一个库(包括触发器,存储过程等)的参数ide
mysqldump --skip-lock-tables --single-transaction --opt --extended-insert=false --triggers -R 函数
3.建立函数时报错,ERROR 1418 (HY000): This function has none of DETERMINISTIC, NO SQL, or READS SQL DATA in its declaration and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)spa
解决办法:set global log_bin_trust_function_creators=TRUE; ip
而后再建立。it