connect to "localhost" fails when libmysqlclient db-plugin is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MOVED - Percona Playback |
New
|
Undecided
|
Unassigned |
Bug Description
Percona-playback uses mysql_real_
bool MySQLDBThread:
{
mysql_
if (!mysql_
{
fprintf(stderr, "Can't connect to server: %s\n",
return false;
}
return true;
}
If options->host is "localhost" mysql_real_
That is why if --mysql-host command line option is "localhost" percona-playback can not connect to server. The workaround is to use 127.0.0.1 instead of "localhost".