summaryrefslogtreecommitdiff
path: root/mysql-test/include
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2015-11-03 17:41:06 +0100
committerVladislav Vaintroub <wlad@mariadb.com>2015-11-03 17:41:06 +0100
commit245bfc52fc869ce095534b3f0d1f9f559e96d703 (patch)
tree31590322ba90af02a867dd691d56bc5781837dae /mysql-test/include
parentfa1438cbf4307731a54ea4137d5f7d4b744cdfbc (diff)
downloadmariadb-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 'mysql-test/include')
-rw-r--r--mysql-test/include/default_mysqld.cnf1
1 files changed, 0 insertions, 1 deletions
diff --git a/mysql-test/include/default_mysqld.cnf b/mysql-test/include/default_mysqld.cnf
index 04321475691..33881666b57 100644
--- a/mysql-test/include/default_mysqld.cnf
+++ b/mysql-test/include/default_mysqld.cnf
@@ -31,7 +31,6 @@ debug-no-sync
# Retry bind as this may fail on busy server
port-open-timeout=10
-bind-address=127.0.0.1
log-bin-trust-function-creators=1
key_buffer_size= 1M