InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4800!
InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4800! 這個錯誤是查看了mysql的錯誤日誌才發現。
剛開始使用 service mysqld start 會報一行錯誤,即:【啟動mysql ERROR! The server quit without updating PID file】
我就把 mysql ERROR! The server quit without updating PID file 一頓複製貼上到百度,各種回答覺得可行都嘗試了,還是不行。最後才知道公司一個同事把mysql升級為8了;啟動的命令不是service mysql start 或者 /etc/my.cnf start 了
用他給的命令:/usr/local/mysql/bin/mysqld_safe --defaults-file=/etc/my.cnf --user=mysql & 便行了
但我要強調一點,/etc/my.cnf 的 base_dir和 data_dir 等路徑不是 /usr/local/mysql,而是公司應用的釋出路徑了;具體是怎麼回事我也沒弄明白,此次為了記錄下花了整整一晚上終無法解決的辛酸史
最後我建議,誰把mysql升級了,如果啟動或連線客戶端等有發生變更,讓他弄個文件出來,不然之前的人很痛苦的
相關推薦
InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4800!
InnoDB: Table flags are 0 in the data dictionary but the flags in file ./ibdata1 are 0x4800! 這個錯誤是查看了mysql的錯誤日誌才發現。
Data Guard Physical Standby Setup Using the Data Guard Broker in Oracle 11.2 之02(新加第二臺備機)
1.假設條件 已有兩臺伺服器(xag200,xag201),安裝了Oracle Linux 7 和Oracle Database 11.2.0.4 且配置了ADG,本次新加
報錯:MySQL initialize specified but the data directory has files in it. Aborting.
報錯背景 mysql 想要重新格式化 mysqld --initialize,結果報錯。 報錯現象 報錯原因
The file that you are trying to load does not match the file format of the destination table.
技術標籤:問題hive大資料hqlsql ive匯入資料報錯 Hive load data local inpath … into table … 出錯
mysqldMY-010457] [Server] --initialize specified but the data directory has files in it. Aborting. 2
https://blog.csdn.net/tr1912/article/details/81271851 # mysqld --initialize --user=mysql[root@localhost cyx]# cp /etc/my.cnf /etc/my.cnf.bak[root@localhost cyx]# vim /etc/my.cnf[root@localhost cyx]#
安裝mysql 時候 出現 --initialize specified but the data directory has files in it. Aborting.
1 把mysql 下面的data目錄清空即可 1、安裝包下載。 下載地址:https://dev.mysql.com/downloads/mysql/
k8s 執行 mysql 報錯 --initialize specified but the data directory has files in it
最近在 k8s 上面執行 mysql 報錯 $ kubectl -n devops logs mysql-679745f64f-4cdzc 2021-12-10 01:18:26+00:00 [Note] [Entrypoint]: Entrypoint script for MySQL Server 5.7.36-1debian10 started.
Property or method "info" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components,
原始碼 App.Vue <template> <div> <test v-for=\"post in posts\" v-bind:title=\"post.title\">
Failure to find ... was cached in the local repository, resolution will not be reattempted until the update interval of public has elapsed or updates are forced 問題解決
當我對專案進行打包時,報了一下錯誤: Failure to find com.st:oscarJDBC16:pom:1.0.0 in http://maven.aliyun.com/nexus/content/groups/public/ was cached in the local repository, resolution will not
Jenkins - 構建報錯:The [cargo.remote.username] and [cargo.remote.password] properties are mandatory and need to be defined in your configuration.
org.codehaus.cargo.container.ContainerException: The [cargo.remote.username] and [cargo.remote.password] properties are mandatory and need to be defined in your configuration.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'->。。。。。。
報錯--->java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delect from testd
報錯--->java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'delect from testdb.
執行react專案,npm run start/build, 報錯 There might be a problem with the project dependency tree. It is likely not a bug in Create React App, but something you need to fix locally.
如題:這個問題困擾了我半天,網上搜索各種解決方法,都沒能解決,最後仔細讀一遍原因才發現問題很簡單,就是版本不一致
1519. Number of Nodes in the Sub-Tree With the Same Label
Given a tree (i.e. a connected, undirected graph that has no cycles) consisting ofnnodes numbered from0ton - 1and exactlyn - 1edges. Therootof the tree is the node0, and each node of the tree hasa lab
sonar-scanner報錯Caused by: net.sourceforge.pmd.lang.java.ast.ParseException: Line 88, Column 37: Cannot use the diamond generic notation when running in JDK inferior to 1.7 mode!
原因是沒有加jdk的編譯版本 如果是在命令列執行,則需要加-Dsonar.java.source=11 如果使用到了sonar-project.properties, 則加入sonar.java.source=11即可
Data Guard Physical Standby Setup in Oracle11.2 & 後加 Data Guard Broker 之01(先無Broker)
1.假設條件 您有兩臺伺服器,其中裝有作業系統,並在其上安裝了Oracle Linux 7 和Oracle Database 11.2.0.4。
Data Guard Physical Standby Setup in Oracle11.2 & 後加 Data Guard Broker 之02 (switchover) 切換測試
1.將主資料庫轉換為備用資料庫(主庫上) [oracle@xag1124a ~]$sqlplus / as sysdba SQL> alter database commit to switchover to physical standby with session shutdown;
Data Guard Physical Standby Setup in Oracle11.2 & 後加 Data Guard Broker 之03 (Maximum Availability)
1.主庫 [oracle@xag1124a ~]$sqlplus / as sysdba SQL> select protection_mode,protection_level,log_mode,open_mode,flashback_on from v$database;
nginx: [emerg] CreateDirectory() "D:\tools\nginx-1.14.0/temp/client_body_temp" failed (3: The system cannot find the path specified)
在Windows中啟動nginx提示如下資訊 nginx: [emerg] CreateDirectory() \"D:\\tools\\nginx-1.14.0/temp/client_body_temp\" failed (3: The system cannot find the path specified)
Java Tutorials(the traditional features of the Java, including variables, arrays, data types, operators and control flow)
Language Basics the traditional features of the Java, including variables, arrays, data types, operators and control flow