From f08ee7862bc18a6b9cd31ccd8d6148cf3faf859a Mon Sep 17 00:00:00 2001 From: Carlos Torres Date: Fri, 24 Jan 2020 18:41:34 -0800 Subject: [PATCH] Use localhost as default DB hostname For systems that only support IPv6, we want to use localhost instead of 127.0.0.1, so it can resolve to whatever loopback address is available, instead of assuming IPv4. --- base/PerfOptions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/PerfOptions.php b/base/PerfOptions.php index 1537207..1292d7b 100644 --- a/base/PerfOptions.php +++ b/base/PerfOptions.php @@ -125,7 +125,7 @@ final class PerfOptions { public bool $notBenchmarking = false; - public string $dbHost = '127.0.0.1'; //The hostname/IP of server which hosts the database. + public string $dbHost = 'localhost'; //The hostname/IP of server which hosts the database. public int $memcachedPort; //The hostname/IP of server which hosts memcached. public int $memcachedThreads; // Number of memcached threads