溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

[ERROR] [MY-012263]

發(fā)布時(shí)間:2020-02-27 03:54:01 來源:網(wǎng)絡(luò) 閱讀:447 作者:roidba 欄目:MySQL數(shù)據(jù)庫
You cannot increase the size of an existing system tablespace data file by changing its size attribute. For example, changing the innodb_data_file_path setting from ibdata1:10M:autoextend to ibdata1:12M:autoextend produces the following error when starting the server:
報(bào)錯(cuò)信息如下:
[ERROR] [MY-012263] [InnoDB] The Auto-extending innodb_system 
data file './ibdata1' is of a different size 640 pages (rounded down to MB) than 
specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!

The error indicates that the existing data file size (expressed in InnoDB pages) is different from the size specified in the configuration file. If you encounter this error, restore the previous innodb_data_file_path setting, and refer to the system tablespace resizing instructions.

默認(rèn)參數(shù)如下:
innodb_data_file_path=ibdata1:12M:autoextend
想直接resize系統(tǒng)表空間,如下調(diào)整會(huì)直接報(bào)錯(cuò)。
innodb_data_file_path=ibdata1:100M:autoextend

查看官方文檔
https://dev.mysql.com/doc/refman/8.0/en/innodb-system-tablespace.html
向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI