Linux CentOS 啟動mysql提示錯誤:Table 'mysql.plugin' doesn't exist
CentOS 啟動mysql提示錯誤:Table 'mysql.plugin' doesn't exist
在linux CentOS下啟動mysql時發現表mysql.plugin不存在,不合理啊,我明明建立了但還是總是提示這個錯誤,網上搜索原因後發現不能直接建立,需要使用mysql_install_db安裝配置。
提示錯誤:
2015-01-23 14:58:02 30348 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
2015-01-23 14:58:02 30348 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
解決方法:linux shell命令下啟動
[~] /usr/bin/mysql-install-db --user=root --datadir=/var/lib/mysql/data
然後啟動:
[~] /etc/init.d/mysql start
啟動成功!
相關推薦
Linux CentOS 啟動mysql提示錯誤:Table 'mysql.plugin' doesn't exist
CentOS 啟動mysql提示錯誤:Table 'mysql.plugin' doesn't exist 在linux CentOS下啟動mysql時發現表mysql.plugin不存在,不合理啊
裝完mysql啟動報錯:“Table ‘mysql.plugin’ doesn’t exist” 解決方法
裝完mysql後啟動mysql發現啟動不了,錯誤日誌裡面會提示Table ‘mysql.plugin’ doesn’t exist,出現此錯誤的原因有兩種。 一種是裝完mysql之後沒有執行初始化mysql系統資料庫的指令碼,如果是這種情況,要先做指令碼的初始化,方法如
Linux下C++編譯提示錯誤:unrecognized command line option “-std=c++11”
也就是gcc,g++版本不夠,那就升級版本 預設ubuntu14的gcc版本是4.8,支援c++11, 不支援c++14 gcc --version g++ --version 安裝g++5 sudo
mysql無法啟動(Table 'mysql.plugin' doesn't exist)
151226 17:49:20 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql /usr/libexec/mysqld: Table 'mysql.plugin' doe
錯誤程式碼: 1146 Table 'test.triggers' doesn't exist
1、錯誤描述1 queries executed, 0 success, 1 errors, 0 warnings 查詢:desc triggers 錯誤程式碼: 1146 Table 'test.
mysql 錯誤:Field '欄位' doesn't have a default value
當提示某個欄位沒有預設值時,解決辦法就是為該欄位設定預設值。 但是糾其原因是mysql的嚴格模式的問題。 我們本地開發可能使用了非嚴格模式 配置檔案: linux中my.cnf win
【程式碼】thinkphp檢視模型查詢失敗提示:ERR: 1146:Table ‘db.pr_order_view’ doesn’t exist
想用thinkphp的檢視模型進行關聯查詢,結果出現了這樣兒的問題(log日誌記錄):ERR: 1146:Table 'db.pr_order_view' doesn't exist,我就納悶兒,檢視模型怎麼出來的sql是這樣兒的呢,檢視模型如下: /** * 訂單
解決方法Table 'performance_schema.session_variables' doesn't exist
Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. T
SpringBoot : Springboot-jpa Table 'sell.hibernate_sequence' doesn't exist
解決辦法一:加上 @GeneratedValue(strategy = GenerationType.IDENTITY) 像下面這樣: @GeneratedValue(strategy = Gen
django報錯ProgrammingError at /register/ (1146, "Table 'gitnote.loginapp_user' doesn't exist")
ProgrammingError at /register/(1146, "Table 'gitnote.loginapp_user' doesn't exist")這個錯誤是指沒有名字叫這個的表存在,錯誤也就是你沒有執行遷移命令生成並執行遷移檔案可以cd到你的專案的目錄下執
ERROR 1146 (42S02): Table 'performance_schema.session_variables' doesn't exist
之前mysql升級後使用show variables出現該錯誤,需要進行mysql_upgrade操作進行修復。 1)首先退出mysql 2)在命令列介面輸入: mysql_upgrade -uroot -p --force 3)然後重啟mysql即可 windows
Database ERROR:Table 'snort.acid_ag' doesn't exist
8、Database ERROR:Table'snort.acid_ag' doesn't exist 輸入密碼,然後執行以下命令 Use snort //進入該資料庫,後再執行下面的的命令 mys
10020---hibernate---Table 'XXX.XXX' doesn't exist
在設定自動生成資料表的策略中: <!-- 自動生成資料表的策略 --> <property name="hbm2ddl.auto">update</property>//別的值也可以 但是出現了一個問題:Table
Table 'test._t_tablename_new' doesn't exist
往表裡插入一條資料: mysql> insert into t_message(MSG_ID) values('1'); ERROR 1146 (42S02): Table 'test._t_message' doesn't exist 提示的是_
【Hibernate】Table '表名' doesn't exist
1. <property name="hbm2ddl.auto">create</property> 被註釋掉,或者中間不是create2.表中有關鍵字,如:order,level,address,degree等。 3.將 <propert
【報錯】BatchUpdateException: Table 'right_test_db.user' doesn't exist
log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. Tue Jun 28 14:2
linux 系統中系統關機後,mysql啟動失敗報錯:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '
自己在阿里雲伺服器上安裝好執行環境後,mysql都是正常使用的,昨天強制關閉伺服器後,重新啟動伺服器,發現數據庫無法啟動報錯:ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/va
Linux下MySQL報Table 'xxx' doesn't exist錯誤解決方法
原因:linux下mysql預設資料庫表名和資料庫名區分大小寫 解決方法: 1、改為同樣的大小寫。 2、更改mysql設定,使其不區分大小寫,具體步驟: cd /etcvi my.cnf在[mysq
在Centos上安裝MySQL時出現這樣的錯誤:Starting MySQL.. ERROR! The server quit without updating PID file (/usr/loca
MySQL的版本是:mysql-5.5.48-linux2.6-x86_64.tar.gzcentos6.6上安裝MySQL時出現的錯誤:[[email protected] mysql]# ./support-files/mysql.server startSta
vim提示錯誤:E575: viminfo: Illegal starting char in line: ¿?(無效的啟動字符)
文件中 .html log spa tar 日誌 mil 解決方法 char 錯誤原因: 當前用戶的 ~/.viminfo 文件出錯, 出現了無效的字符:?? 解決方法: 方案1: rm ~/.viminfo 直接刪除 .viminfo(日誌文件,可以刪除)。