国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

MySQL初始化之后啟動報錯(mysqld: Table ‘mysql.plugin‘ doesn‘t exist)

這篇具有很好參考價值的文章主要介紹了MySQL初始化之后啟動報錯(mysqld: Table ‘mysql.plugin‘ doesn‘t exist)。希望對大家有所幫助。如果存在錯誤或未考慮完全的地方,請大家不吝賜教,您也可以點(diǎn)擊"舉報違法"按鈕提交疑問。

報錯場景

初始化之后,服務(wù)無法啟動。錯誤日志error-log 報錯如下:(mysql庫下的系統(tǒng)表不存在)

2023-10-26T06:03:08.150163-00:00 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-10-26T06:03:08.496623-00:00 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
mysqld: Table 'mysql.plugin' doesn't exist
2023-10-26T06:03:09.141007-00:00 0 [ERROR] [MY-010735] [Server] Could not open the mysql.plugin table. Please perform the MySQL upgrade procedure.
2023-10-26T06:03:09.141244-00:00 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2023-10-26T06:03:09.141429-00:00 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2023-10-26T06:03:09.141599-00:00 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2023-10-26T06:03:09.141826-00:00 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2023-10-26T06:03:09.141960-00:00 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2023-10-26T06:03:09.142082-00:00 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2023-10-26T06:03:09.142198-00:00 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2023-10-26T06:03:09.471237-00:00 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2023-10-26T06:03:09.593702-00:00 0 [Warning] [MY-010015] [Repl] Gtid table is not ready to be used. Table 'mysql.gtid_executed' cannot be opened.
2023-10-26T06:03:09.597026-00:00 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2023-10-26T06:03:09.597086-00:00 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2023-10-26T06:03:09.692911-00:00 0 [Warning] [MY-010441] [Server] Failed to open optimizer cost constant tables
2023-10-26T06:03:09.693231-00:00 0 [ERROR] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-001146 - Table 'mysql.component' doesn't exist
2023-10-26T06:03:09.693248-00:00 0 [Warning] [MY-013129] [Server] A message intended for a client cannot be sent there as no client-session is attached. Therefore, we're sending the information to the error-log instead: MY-003543 - The mysql.component table is missing or has an incorrect definition.
2023-10-26T06:03:09.693314-00:00 0 [Warning] [MY-000067] [Server] unknown variable 'loose_rpl_semi_sync_master_enabled=1'.
2023-10-26T06:03:09.693319-00:00 0 [Warning] [MY-000067] [Server] unknown variable 'loose_rpl_semi_sync_slave_enabled=1'.
2023-10-26T06:03:09.693323-00:00 0 [Warning] [MY-000067] [Server] unknown variable 'loose_rpl_semi_sync_master_timeout=30000'.
2023-10-26T06:03:09.693326-00:00 0 [Warning] [MY-000067] [Server] unknown variable 'loose_rpl_semi_sync_master_wait_for_slave_count=1'.
2023-10-26T06:03:09.693329-00:00 0 [Warning] [MY-000067] [Server] unknown variable 'loose_rpl_semi_sync_master_wait_no_slave=0'.
2023-10-26T06:03:09.693331-00:00 0 [Warning] [MY-000067] [Server] unknown variable 'loose_clone=FORCE_PLUS_PERMANENT'.
2023-10-26T06:03:09.693606-00:00 0 [ERROR] [MY-010326] [Server] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
2023-10-26T06:03:09.693646-00:00 0 [ERROR] [MY-010952] [Server] The privilege system failed to initialize correctly. For complete instructions on how to upgrade MySQL to a new version please see the 'Upgrading MySQL' section from the MySQL manual.
2023-10-26T06:03:09.693723-00:00 0 [ERROR] [MY-010119] [Server] Aborting
2023-10-26T06:03:11.193205-00:00 0 [System] [MY-010910] [Server] /data/mysql/4407/base/bin/mysqld: Shutdown complete (mysqld 8.0.32)  MySQL Community Server - GPL.

could not open the mysql.plugin table. please perform the mysql upgrade proc,Mysql,mysql,adb,android

問題要點(diǎn)

系統(tǒng)表 不存在,數(shù)據(jù)庫剛進(jìn)行完初始化呀,不合理呀?

# 初始化數(shù)據(jù)庫
/data/mysql/3306/base/bin/mysqld --defaults-file=/data/mysql/3306/my.cnf.3306 --initialize-insecure --user=mysql
  • 排出了目錄權(quán)限問題

問題原因和處理方式

  • 半同步插件的參數(shù)在初始化的時候不能開啟
  • 處理方式是注釋掉 下面參數(shù),重新初始化。
# Semisync config 
#plugin-load                                             = "rpl_semi_sync_source=semisync_source.so;rpl_semi_sync_replica=semisync_replica.so"
#rpl_semi_sync_source_enabled                            = 1
#rpl_semi_sync_replica_enabled                           = 1                

完結(jié)撒花。文章來源地址http://www.zghlxwxcb.cn/news/detail-765219.html

到了這里,關(guān)于MySQL初始化之后啟動報錯(mysqld: Table ‘mysql.plugin‘ doesn‘t exist)的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請點(diǎn)擊違法舉報進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

  • 三、MySQL實(shí)例初始化、設(shè)置、服務(wù)啟動關(guān)閉、環(huán)境變量配置、客戶端登入(一篇足以從白走到黑)

    三、MySQL實(shí)例初始化、設(shè)置、服務(wù)啟動關(guān)閉、環(huán)境變量配置、客戶端登入(一篇足以從白走到黑)

    目錄 1、選擇安裝的電腦類型、設(shè)置端口號 2、選擇mysql賬號密碼加密規(guī)則 3、設(shè)置root賬戶密碼 4、設(shè)置mysql服務(wù)名和服務(wù)啟動策略 5、執(zhí)行設(shè)置(初始化mysql實(shí)例) 6、完成設(shè)置 ?7、MySQL數(shù)據(jù)庫服務(wù)的啟動和停止 方式一:圖形化方式 方式二:命令行方式 8、MySQL數(shù)據(jù)庫環(huán)境變量的

    2024年01月18日
    瀏覽(47)
  • Centos /Linux環(huán)境下利用Docker 安裝mysql5.7鏡像(含離線安裝),啟動mysql鏡像并初始化數(shù)據(jù)庫

    Centos /Linux環(huán)境下利用Docker 安裝mysql5.7鏡像(含離線安裝),啟動mysql鏡像并初始化數(shù)據(jù)庫

    使用有網(wǎng)的服務(wù)器下載好鏡像 保存下載好的鏡像成tar 將鏡像上傳到所需服務(wù)器(放在固定位置) 導(dǎo)入鏡像 注意名稱,這里的mysql5.7和上面打包 docker save imageid mysql5.7 的名稱一致,本例未改名 查看導(dǎo)入的鏡像,并重新命名鏡像 創(chuàng)建本地數(shù)據(jù)庫目錄、配置文件以及日志目錄(

    2024年02月10日
    瀏覽(96)
  • Linux內(nèi)存初始化-啟動階段的內(nèi)存初始化

    Linux內(nèi)存初始化-啟動階段的內(nèi)存初始化

    本文代碼基于ARM64平臺, Linux kernel 5.15 在加載kernel 之前, kernel對于系統(tǒng)是有一定要求的,明確規(guī)定了boot階段必須要把MMU關(guān)閉: 那么在進(jìn)入kernel之后, 就必須有一個使能MMU, 建立映射的過程, 本文描述kernel啟動階段進(jìn)行內(nèi)存初始化相關(guān)的操作。 在初始化階段,我們mapping二段

    2024年02月08日
    瀏覽(25)
  • 初始化安裝 MySQL 數(shù)據(jù)庫報錯:FATAL ERROR: please install the following Perl modules before executing...

    運(yùn)行 /usr/local/mysql/scripts/mysql_install_db --user=mysql --basedir=/usr/local/mysql --datadir=/data/mysql_data 出現(xiàn)如下報錯: FATAL ERROR: please install the following Perl modules before executing /usr/local/mysql/scripts/mysql_install_db: Data::Dumper 解決: 在進(jìn)行源碼安裝MySQL 5.6.32之前,你需要確保已安裝了Perl-Data-Dumpe

    2024年02月06日
    瀏覽(32)
  • 初始化k8s(啟動)

    初始化k8s(啟動)

    一位普通的程序員,慢慢在努力變強(qiáng)! 溫馨提示:初始化k8s的前置配置,請查看以下連接! k8s初始化前的基礎(chǔ)配置 提示:如果你是單機(jī),需要開啟污點(diǎn) 本章節(jié)完成了,各位正在努力的程序員們,如果你們覺得本文章對您有用的話,或者是你學(xué)到了一些東西,希望用您那漂亮

    2024年02月11日
    瀏覽(18)
  • 啟動Flink顯示初始化狀態(tài)怎么解決?

    啟動Flink顯示初始化狀態(tài)怎么解決?

    Flink On Yarn模式 問題 思路 具體實(shí)現(xiàn)思路 腳本如下 flinkInitDeal.sh

    2024年02月14日
    瀏覽(32)
  • 官答|初始化GreatSQL報錯無法找到數(shù)據(jù)目錄或初始化數(shù)據(jù)字典失敗

    官答|初始化GreatSQL報錯無法找到數(shù)據(jù)目錄或初始化數(shù)據(jù)字典失敗

    GreatSQL推出新欄目——官答 官答欄目針對GreatSQL數(shù)據(jù)庫中的問題,選取官方論壇和討論群中的典型提問進(jìn)行深入解答。內(nèi)容涵蓋數(shù)據(jù)庫安裝部署、配置優(yōu)化、故障排查、性能測試等方面。 在文章中,我們不僅提供解決方案,還會結(jié)合實(shí)例深入剖析問題的成因,提升讀者對GreatSQL數(shù)據(jù)

    2024年02月04日
    瀏覽(33)
  • SpringBoot啟動時的幾種初始化操作

    1、靜態(tài)代碼塊 static靜態(tài)代碼塊,在類加載的時候即自動執(zhí)行。 2、構(gòu)造方法 在對象初始化時執(zhí)行。執(zhí)行順序在static靜態(tài)代碼塊之后。 3、通過注解@PostConstruct實(shí)現(xiàn) @PostConstruct注解使用在方法上,它可以被用來標(biāo)注一個 非靜態(tài)的 void 方法 ,這個方法會在該類被 Spring 容器初始化

    2024年02月09日
    瀏覽(23)
  • 一文詳解 springboot 項(xiàng)目啟動時異步執(zhí)行初始化邏輯

    你知道的越多,你不知道的越多 點(diǎn)贊再看,養(yǎng)成習(xí)慣 如果您有疑問或者見解,歡迎指教: 企鵝:869192208 前言 前面的工作中,為了提高地區(qū)數(shù)據(jù)的響應(yīng)時間,需要加載全國區(qū)劃數(shù)據(jù)到 redis 中緩存起來,這個過程希望在項(xiàng)目時啟動。 由于初始化全國區(qū)劃到 redis 中這個過程是

    2024年02月12日
    瀏覽(25)
  • 『pyqt5 從0基礎(chǔ)開始項(xiàng)目實(shí)戰(zhàn)』06. 獲取選中多行table 重新初始化數(shù)據(jù)(保姆級圖文)

    『pyqt5 從0基礎(chǔ)開始項(xiàng)目實(shí)戰(zhàn)』06. 獲取選中多行table 重新初始化數(shù)據(jù)(保姆級圖文)

    歡迎關(guān)注 『pyqt5 從0基礎(chǔ)開始項(xiàng)目實(shí)戰(zhàn)』 專欄,持續(xù)更新中 歡迎關(guān)注 『pyqt5 從0基礎(chǔ)開始項(xiàng)目實(shí)戰(zhàn)』 專欄,持續(xù)更新中 請查閱上文獲取源碼,此處只列舉第三方庫 新增點(diǎn)擊事件 .clicked.connect 我們這里的處理也包括包括選中多行的情況 在主函數(shù)中給線程傳入需要的參數(shù) 獲取

    2023年04月16日
    瀏覽(45)

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包