在升級完後,導入以前備份的數據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