mysql152錯誤 mysql常見錯誤

2021-10-18 21:12:03 字數 616 閱讀 8577

[error] innodb: data file /usr/local/mysql-5.6.30/data3306/ibdata1 is of a different size[root@localhost mysql]# less /etc/my.cnf |grep innodb_data_file_path

innodb_data_file_path = ibdata1:200m:autoextend

[root@localhost mysql]# ls -lh /var/lib/mysql/ibdata1

-rw-rw---- 1 mysql mysql 18m nov 12 22:00 /var/lib/mysql/ibdata1

由於引數設定和實際的檔案大小不一致,啟動mysql出現了上述的故障

此時我們可以選擇修改my.cnf檔案的配置或者直接注釋掉這個引數設定,讓mysql啟動時用預設引數去檢驗

或者my.cnf檔案中指定該引數等於實際檔案的大小

[root@localhost mysql]# less /etc/my.cnf |grep innodb_data_file_path

innodb_data_file_path = ibdata1:18m:autoextend

mysql錯誤文件 mysql 錯誤

開啟部落格發現載入失敗,檢視部落格日誌顯示mysql連線不上 啟動mysql發現錯誤日誌如下 190612 11 20 47 note plugin federated is disabled.190612 11 20 47 innodb the innodb memory heap is disa...

mysql排序錯誤 這是MySQL排序錯誤嗎?

我面臨奇怪的伺服器行為 mysql 5.1.50.它錯誤地排序記錄.例如,我建立了乙個表測試 create table if not exists test id int 11 not null auto increment,title varchar 250 not null,primary ke...

mysql 錯誤問題 mysql連線錯誤問題

error 1130 host 192.168.1.3 is not allowed to connect to this mysql server 解決方法 1。改表法。可能是你的帳號不允許從遠端登陸,只能在localhost。這個時候只要在localhost的那台電腦,登入mysql後,更改 m...