# XtraBackup and MySQL 5.6

**URL:** <https://forums.percona.com/t/xtrabackup-and-mysql-5-6/2341>\
**Category:** Percona XtraBackup\
**Created:** [March 11, 2013, 11:54am UTC](https://forums.percona.com/t/xtrabackup-and-mysql-5-6/2341 "2013-03-11T11:54:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![angazi](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@angazi](https://forums.percona.com/u/angazi)\
**Post date:** [March 11, 2013, 11:54am UTC](https://forums.percona.com/t/xtrabackup-and-mysql-5-6/2341/1 "2013-03-11T11:54:14Z")

</div>

Hi,

I’m sure this Q has been asked somewhere before (or its obvious to everyone but me) but I’m unable to find anything searching the forum or web or Percona FAQ’s.

Is XtraBackup compatible with MySQL 5.6?

If its not then I understand why things arent working and I’ll just have to be patient and one day it may be available for that too. I know the online docs only mention up to 5.5 but nowhere does it tell me that it wont work with a newer version which is why I tried. If this is the case then please ignore the below.

I installed XtraBackup (latest) today for the first time on SuSE Linux (SLES11SP2). The RHEL repos wouldnt add when I tried so I went with the RHEL 2.05-499 x64 rpm install suggested here

[www.percona.com/doc/percona-xtrabackup/installation/bin\_dist](http://www.percona.com/doc/percona-xtrabackup/installation/bin_dist) ro\_specific.html

I then ran what I thought was the simplest backup possible using the ffg command:

innobackupex-1.5.1 --user=root --password=‘xxxx’ /tmp

I get these results

InnoDB Backup Utility v1.5.1-xtrabackup  
130311 15:59:55 innobackupex-1.5.1: Starting mysql with options: --password=xxxxxxxx --user=‘root’ --unbuffered –  
130311 15:59:55 innobackupex-1.5.1: Connected to database with mysql child process (pid=28184)  
130311 16:00:01 innobackupex-1.5.1: Connection to database server closed  
IMPORTANT: Please check that the backup run completes successfully.  
At the end of a successful backup run innobackupex-1.5.1  
prints “completed OK!”.

innobackupex-1.5.1: Using mysql Ver 14.14 Distrib 5.6.10, for Linux (x86\_64) using EditLine wrapper  
innobackupex-1.5.1: Using mysql server version Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.  
sh: --: invalid option

innobackupex-1.5.1: fatal error: no ‘mysqld’ group in MySQL options

Can anyone explain what I’m missing. Thanks

---

<div class="post-metadata">

**Author:** ![gmouse](https://avatars.discourse-cdn.com/v4/letter/g/b9e5f3/32.png) [@gmouse](https://forums.percona.com/u/gmouse)\
**Post date:** [March 11, 2013, 12:59pm UTC](https://forums.percona.com/t/xtrabackup-and-mysql-5-6/2341/2 "2013-03-11T12:59:32Z")

</div>

[http://www.mysqlperformanceblog.com/2013/02/25/percona-welco mes-mysql-5-6/](http://www.mysqlperformanceblog.com/2013/02/25/percona-welcomes-mysql-5-6/)  
Quote:

> [@](#):
>
> Percona Xtrabackup support for MySQL 5.6 is coming next month with Percona Xtrabackup 2.0.6. Though used more for final integration and testing questions, we have customers backing up and restoring MySQL 5.6 databases in standard configuration successfully with the current version.

I think your warning is not related to 5.6, try googling the fatal error message.

---

<div class="post-metadata">

**Author:** ![stevetoldme](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@stevetoldme](https://forums.percona.com/u/stevetoldme)\
**Post date:** [March 12, 2013, 1:02pm UTC](https://forums.percona.com/t/xtrabackup-and-mysql-5-6/2341/3 "2013-03-12T13:02:17Z")

</div>

Check you my.cnf do you have a section for mysqld?

[mysqld]  
port =  
datadir =

etc. etc.
