共計(jì) 548 個(gè)字符,預(yù)計(jì)需要花費(fèi) 2 分鐘才能閱讀完成。
本篇內(nèi)容介紹了“mysql5.0 升級(jí)到 5.1 時(shí)日志報(bào)錯(cuò)怎么處理”的有關(guān)知識(shí),在實(shí)際案例的操作過程中,不少人都會(huì)遇到這樣的困境,接下來就讓丸趣 TV 小編帶領(lǐng)大家學(xué)習(xí)一下如何處理這些情況吧!希望大家仔細(xì)閱讀,能夠?qū)W有所成!
今天生產(chǎn)環(huán)境的從 5.0 升級(jí)到了 5.1,結(jié)果日志報(bào)錯(cuò),如下
Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
mysql.user has no `Event_priv` column at position 29
解決辦法:
修復(fù) mysql 系統(tǒng)表
mysql_fix_privilege_tables
或者提供密碼修復(fù)
mysql_fix_privilege_tables –password=root_password
mysql_fix_privilege_tables 腳本可以執(zhí)行將系統(tǒng)表轉(zhuǎn)換為當(dāng)前格式的任何動(dòng)作。運(yùn)行時(shí)你可能會(huì)看見一些 Duplicate column name 警告;你可以忽略它們。
“mysql5.0 升級(jí)到 5.1 時(shí)日志報(bào)錯(cuò)怎么處理”的內(nèi)容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業(yè)相關(guān)的知識(shí)可以關(guān)注丸趣 TV 網(wǎng)站,丸趣 TV 小編將為大家輸出更多高質(zhì)量的實(shí)用文章!