From 37c434d4fcae0ce0f6d73d87e9e040ed18701c27 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Tue, 31 Dec 2019 09:29:09 +0100 Subject: [PATCH] testsystem does not listen on socket for mysql Signed-off-by: Michael Kaufmann --- tests/Mysqls/MysqlsTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Mysqls/MysqlsTest.php b/tests/Mysqls/MysqlsTest.php index 83f45e58..160efcb9 100644 --- a/tests/Mysqls/MysqlsTest.php +++ b/tests/Mysqls/MysqlsTest.php @@ -126,7 +126,7 @@ class MysqlsTest extends TestCase // test connection try { - $test_conn = new \PDO("mysql:host=localhost", 'test1sql1', $newPwd); + $test_conn = new \PDO("mysql:host=127.0.0.1", 'test1sql1', $newPwd); unset($test_conn); } catch (PDOException $e) { $this->fail($e->getMessage());