内射老阿姨1区2区3区4区_久久精品人人做人人爽电影蜜月_久久国产精品亚洲77777_99精品又大又爽又粗少妇毛片

mysql5.1升5.6升級后出現(xiàn)問題怎么處理-創(chuàng)新互聯(lián)

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

目前創(chuàng)新互聯(lián)已為近千家的企業(yè)提供了網(wǎng)站建設(shè)、域名、虛擬空間、網(wǎng)站運(yùn)營、企業(yè)網(wǎng)站設(shè)計(jì)、宜陽網(wǎng)站維護(hù)等服務(wù),公司將堅(jiān)持客戶導(dǎo)向、應(yīng)用為本的策略,正道將秉承"和諧、參與、激情"的文化,與客戶和合作伙伴齊心協(xié)力一起成長,共同發(fā)展。

錯(cuò)誤: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)





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

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

在導(dǎo)入數(shù)據(jù).
ps:mysql這個(gè)庫我是單獨(dú)導(dǎo)的,一開始我想的是,版本不一樣,可能存在差異,所以,就單獨(dú)導(dǎo),以防失敗.

整個(gè)過程都很順利,后來做備份腳本的時(shí)候,發(fā)生問題了.....
[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)



輾轉(zhuǎn)反側(cè)才發(fā)現(xiàn)問題所在,雖然mysqldump導(dǎo)出的是sql文件,但是mysql庫中的表結(jié)構(gòu),視圖等信息,仍然還是5.1的結(jié)構(gòu).所以需要執(zhí)行升級腳本.
進(jìn)入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 升級后出現(xiàn)問題怎么處理”這篇文章的所有內(nèi)容,感謝各位的閱讀!相信大家都有了一定的了解,希望分享的內(nèi)容對大家有所幫助,如果還想學(xué)習(xí)更多知識,歡迎關(guān)注創(chuàng)新互聯(lián)-成都網(wǎng)站建設(shè)公司行業(yè)資訊頻道!

分享標(biāo)題:mysql5.1升5.6升級后出現(xiàn)問題怎么處理-創(chuàng)新互聯(lián)
分享URL:http://www.rwnh.cn/article10/dddpgo.html

成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供服務(wù)器托管、App設(shè)計(jì)、ChatGPT定制開發(fā)、手機(jī)網(wǎng)站建設(shè)、Google

廣告

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

成都網(wǎng)站建設(shè)
获嘉县| 建德市| 洮南市| 乌拉特后旗| 比如县| 会东县| 新龙县| 蒙城县| 静海县| 彭水| 宁陵县| 甘德县| 沁水县| 饶阳县| 大冶市| 丰原市| 龙游县| 广州市| 拜泉县| 永德县| 宁明县| 阿拉善盟| 苏尼特左旗| 天水市| 平果县| 普兰县| 外汇| 莱州市| 都江堰市| 且末县| 永泰县| 射阳县| 汕头市| 江油市| 兰溪市| 丘北县| 建宁县| 兴仁县| 贺州市| 东丰县| 获嘉县|