MariaDB Installation error

I am getting error with ibdata1 auto extending of the files when running mysql_install_db and it fills the file with zeroes. But when i delete the ibdata and run the mysql_install_db again everything goes fine.

Also the size in my.cnf file is innodb_data_file_path = ibdata1:100M:autoextend

InnoDB: Could not open or create the system tablespace. If you tried to add new data files to the system tablespace, and it failed here, you should now edit innodb_data_file_path in my.cnf back to what it was, and remove the new ibdata files InnoDB created in this failed attempt. InnoDB only wrote those files full of zeros, but did not yet use them in any way. But be careful: do not remove old data files which contain your precious data!

How exactly to resolve the error?


Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.