Mani's Blog

August 2, 2011

innobackupex-1.5.1:: Warning: Ignored unrecognized line 2 in options : ‘xtrabackup: Error: Please set parameter ‘datadir’

Filed under: MySQL — mani @ 12:15 am

Ran into this error while restoring(apply log) the database.

Realized that my.cnf file is not under default location /etc/my.cnf.  I had to specify the location explicitly as below.

innobackupex-1.5.1 –defaults-file=/local/mysql/enterprise/monitor/mysql/my.cnf –apply-log ./


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

Blog at

%d bloggers like this: