-h shortcut seems to be not working for xtrabackup
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona XtraBackup moved to https://jira.percona.com/projects/PXB | Status tracked in 2.4 | |||||
2.3 |
Fix Released
|
Low
|
Sergei Glushchenko | |||
2.4 |
Fix Released
|
Low
|
Sergei Glushchenko |
Bug Description
Hi,
./xtrabackup --version
./xtrabackup version 2.3.6 based on MySQL server 5.6.24 Linux (x86_64) (revision id: 02d8b7a)
[shahriyar.
./xtrabackup: option '-h' requires an argument
[shahriyar.
xtrabackup: Error: unknown argument: '-hlocalhost'
[shahriyar.
xtrabackup: Error: unknown argument: 'localhost'
But -u and -p are OK:
[shahriyar.
170216 06:46:00 version_check Connecting to MySQL server with DSN 'dbi:mysql:
Failed to connect to MySQL server: DBI connect(
170216 06:46:00 Connecting to MySQL server host: localhost, user: root, password: set, port: not set, socket: not set
Failed to connect to MySQL server: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
summary: |
- -h shortcut seems to be not working + -h shortcut seems to be not working for xtrabackup |
-h cannot be assigned for --host option because it was always assigned for --datadir in xtrabackup.
Message "./xtrabackup: option '-h' requires an argument" should however be fixed.