在升級完後,導入之前備份的數據
1.導入數據時報錯, Cannot load from mysql.proc. The table is probably corrupted,這個是升級版本導致的。
解決辦法:mysql_upgrade -u root -p
2.完整導出一個庫(包括觸發器,存儲過程等)的參數
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)
解決辦法:set global log_bin_trust_function_creators=TRUE;
然後再創建。