本篇文章為大家展示了mysql5.1.37升級(jí)到5.5.3遇到的問題是怎樣的,內(nèi)容簡(jiǎn)明扼要并且容易理解,絕對(duì)能使你眼前一亮,通過這篇文章的詳細(xì)介紹希望你能有所收獲。
在升級(jí)完后,導(dǎo)入之前備份的數(shù)據(jù)
1.導(dǎo)入數(shù)據(jù)時(shí)報(bào)錯(cuò), Cannot load from .proc. The table is probably corrupted,這個(gè)是升級(jí)版本導(dǎo)致的。
解決辦法:mysql_upgrade -u root -p
2.完整導(dǎo)出一個(gè)庫(kù)(包括觸發(fā)器,存儲(chǔ)過程等)的參數(shù)
mysqldump --skip-lock-tables --single-transaction --opt --extended-insert=false --triggers -R
3.創(chuàng)建函數(shù)時(shí)報(bào)錯(cuò),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;
然后再創(chuàng)建。
上述內(nèi)容就是mysql5.1.37升級(jí)到5.5.3遇到的問題是怎樣的,你們學(xué)到知識(shí)或技能了嗎?如果還想學(xué)到更多技能或者豐富自己的知識(shí)儲(chǔ)備,歡迎關(guān)注創(chuàng)新互聯(lián)行業(yè)資訊頻道。