Re: Start mysqld 5.7.7 with new disk

"Jørn Dahl-Stamnes" <[email protected]>
Newsgroups gmane.comp.db.mysql.general
Message-ID <[email protected]>
On Wednesday, December 23, 2015, Jørn Dahl-Stamnes wrote:
> Hello
> 
> I had to replace the datadisk where mysql had its innodb files.
> 
> But after I had added a new disk I'm not able to initialize mysql files any
> more:
> 
> # mysqld --initialize --user=mysql
> 2015-12-23T13:07:08.216472Z 0 [ERROR] Plugin 'InnoDB' init function
> returned error. 2015-12-23T13:07:08.216556Z 0 [ERROR] Plugin 'InnoDB'
> registration as a STORAGE ENGINE failed. 2015-12-23T13:07:08.216577Z 0
> [ERROR] Failed to initialize plugins. 2015-12-23T13:07:08.216595Z 0
> [ERROR] Aborting

Is'nt it typical... after I posted my message I found the error in my /etc/my.cnf file. I had 
changed this line:

innodb_data_file_path		= ibdata1:60G;ibdata2:60G;ibdata3:60G;ibdata4:60G:;ibdata5:60G:autoextend

Notice the extra column in "ibdata4:60G:".

After I removed it, it worked.

-- 
Jørn Dahl-Stamnes
homepage: http://photo.dahl-stamnes.net/

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.