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

Bug #1094478 reported by Ovais Tariq
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Data Recovery Tool for InnoDB
Fix Committed
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
Revision history for this message
Chelluru V N S S Vidyadhar (vidyadhar-chelluru) wrote :

please release the fix

Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.