99偷拍视频精品区一区二,口述久久久久久久久久久久,国产精品夫妇激情啪发布,成人永久免费网站在线观看,国产精品高清免费在线,青青草在线观看视频观看,久久久久久国产一区,天天婷婷久久18禁,日韩动漫av在线播放直播

mysql5.1升5.6升級后出現問題怎么處理-創新互聯

這篇文章主要為大家展示了“mysql 5.1升5.6 升級后出現問題怎么處理”,內容簡而易懂,條理清晰,希望能夠幫助大家解決疑惑,下面讓小編帶領大家一起研究并學習一下“mysql 5.1升5.6 升級后出現問題怎么處理”這篇文章吧。

目前創新互聯已為近千家的企業提供了網站建設、域名、虛擬空間、網站運營、企業網站設計、宜陽網站維護等服務,公司將堅持客戶導向、應用為本的策略,正道將秉承"和諧、參與、激情"的文化,與客戶和合作伙伴齊心協力一起成長,共同發展。

錯誤:mysqldump: Couldn't execute 'SHOW FUNCTION STATUS WHERE Db = 'born_CRM'': Cannot load from mysql.proc. The table is probably corrupted (1728)
Warning: Using a password on the command line interface can be insecure.
mysqldump: Couldn't execute 'SHOW FUNCTION STATUS WHERE Db = 'mysql'': Cannot load from mysql.proc. The table is probably corrupted (1728)





開發在測試機上自己yum安裝了一個mysql,目前centos的yum中的mysql版本是5.1,線上都5.6.20了....所以.擦屁股唄....升級測試機.

安裝5.6.20 過程就忽略了..
mysqldump 導出數據:
mysql -e "show databases;" -uroot -p| grep -Ev "Database|information_schema|mysql|test|performance_schema" | xargs mysqldump -uroot -p --databases > mysql51.sql

在導入數據.
ps:mysql這個庫我是單獨導的,一開始我想的是,版本不一樣,可能存在差異,所以,就單獨導,以防失敗.

整個過程都很順利,后來做備份腳本的時候,發生問題了.....
[root@localhost dbbackup]# ./backup.sh
Warning: Using a password on the command line interface can be insecure.
Warning: Using a password on the command line interface can be insecure.
mysqldump: Couldn't execute 'SHOW FUNCTION STATUS WHERE Db = 'born_CRM'': Cannot load from mysql.proc. The table is probably corrupted (1728)
Warning: Using a password on the command line interface can be insecure.
mysqldump: Couldn't execute 'SHOW FUNCTION STATUS WHERE Db = 'mysql'': Cannot load from mysql.proc. The table is probably corrupted (1728)



輾轉反側才發現問題所在,雖然mysqldump導出的是sql文件,但是mysql庫中的表結構,視圖等信息,仍然還是5.1的結構.所以需要執行升級腳本.
進入mysql 5.6安裝目錄:
[root@localhost ~]# cd /opt/mysql3307/bin/
[root@localhost bin]# mysql_upgrade
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
FATAL ERROR: Upgrade failed
[root@localhost bin]# mysql_upgrade  -uroot -p
Enter password:
Looking for 'mysql' as: mysql
Looking for 'mysqlcheck' as: mysqlcheck
Running 'mysqlcheck with default connection arguments
Warning: Using a password on the command line interface can be insecure.
Running 'mysqlcheck with default connection arguments
Warning: Using a password on the command line interface can be insecure.
mysql.columns_priv                                 OK
mysql.db                                           OK
.
.
.
.
yrd_e8trunk_zyl.user_origin                        OK
yrd_e8trunk_zyl.user_password_extend               OK
yrd_e8trunk_zyl.user_points                        OK
yrd_e8trunk_zyl.user_points_detail                 OK
yrd_e8trunk_zyl.user_relation                      OK
yrd_e8trunk_zyl.user_role                          OK
OK
[root@localhost bin]#
[root@localhost bin]#

以上是“mysql 5.1升5.6 升級后出現問題怎么處理”這篇文章的所有內容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內容對大家有所幫助,如果還想學習更多知識,歡迎關注創新互聯-成都網站建設公司行業資訊頻道!

分享標題:mysql5.1升5.6升級后出現問題怎么處理-創新互聯
分享URL:http://www.yijiale78.com/article10/dddpgo.html

成都網站建設公司_創新互聯,為您提供服務器托管App設計ChatGPT定制開發手機網站建設Google

廣告

聲明:本網站發布的內容(圖片、視頻和文字)以用戶投稿、用戶轉載內容為主,如果涉及侵權請盡快告知,我們將會在第一時間刪除。文章觀點不代表本網站立場,如需處理請聯系客服。電話:028-86922220;郵箱:631063699@qq.com。內容未經允許不得轉載,或轉載時需注明來源: 創新互聯

成都網站建設