The script create_defs.pl does not support connecting via unix socket

Bug #1094478 reported by Ovais Tariq on 2012-12-29
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Data Recovery Tool for InnoDB
Undecided
Unassigned

Bug Description

The script create_defs.pl does not support connecting to MySQL via domain socket.

Changed in percona-data-recovery-tool-for-innodb:
status: New → Fix Committed

please release the fix

sbester (sbester) wrote :

now it doesn't support connecting via a host...

[sbester@fc17 percona-data-recovery-tool-for-innodb]$ ./create_defs.pl --host=192.168.1.2 --user=root --db=a --table=b
DBI connect('database=a;mysql_socket=','root',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at ./create_defs.pl line 44
Error: Can't connect to mysql!
Usage: ./create_defs.pl [options]
Where options are:
        --host - mysql host
        --port - mysql port
        --user - mysql username
        --password - mysql password
        --db - mysql database
        --table - specific table only
        --help - show this help

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

Other bug subscribers