diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2015-11-03 17:41:06 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2015-11-03 17:41:06 +0100 |
commit | 245bfc52fc869ce095534b3f0d1f9f559e96d703 (patch) | |
tree | 31590322ba90af02a867dd691d56bc5781837dae /sql-common | |
parent | fa1438cbf4307731a54ea4137d5f7d4b744cdfbc (diff) | |
download | mariadb-git-245bfc52fc869ce095534b3f0d1f9f559e96d703.tar.gz |
MDEV-8669 MTR client connections on Windows became much slower.
The regression is caused by change bind-address server parameter
in MDEV-8083, so now server listens on IPv4 only by default.
The problem however is that on Windows, connection to server on localhost
appears to be much faster, if server listens on IPv6/dual stack.
mysql_real_connect() would try to connect to IPv6 loopback first,
and if this fails, the failing connect() call takes several seconds.
To fix, use bind-address=* on Windows, and 127.0.0.1 elsewhere
Diffstat (limited to 'sql-common')
0 files changed, 0 insertions, 0 deletions