innobackupex should have better error reporting for unrecognized server versions

Bug #1087219 reported by Alexey Kopytov on 2012-12-06
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Percona XtraBackup moved to
Fix Released
Alexey Kopytov
Fix Released
Alexey Kopytov
Fix Released
Alexey Kopytov

Bug Description

Currently when innobackupex cannot recognize a server version, it "reports" it in a rather awkward way, i.e.:

Use of uninitialized value $option_ibbackup_binary in concatenation (.) or string at ./bin/innobackupex-1.5.1 line 2140.
Can't exec "--print-param": No such file or directory at ./bin/innobackupex-1.5.1 line 2141.
innobackupex-1.5.1: fatal error: no 'mysqld' group in MySQL options
innobackupex-1.5.1: fatal error: OR no 'datadir' option in group 'mysqld' in MySQL options

We should improve it, so that it is at least clear the server version is not supported.

Related branches

description: updated
tags: added: i29543
Vadim Tkachenko (vadim-tk) wrote :

I think for all unrecognized version we should
output proper message and exit, and do not assume
some version by default

Percona now uses JIRA for bug reports so this bug report is migrated to:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers