From 526d080179d068741320b38feb89e5b1c2b368e7 Mon Sep 17 00:00:00 2001 From: "M. Bertan Tarakcioglu" <83073748+BertanT@users.noreply.github.com> Date: Sun, 18 Feb 2024 09:59:52 +0300 Subject: [PATCH] fix: change default mysql hostname on new sites from localhost to 127.0.0.1 to use ipv4 --- lib/tasks/configure/get-prompts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/configure/get-prompts.js b/lib/tasks/configure/get-prompts.js index 0329b57a0..a23044d82 100644 --- a/lib/tasks/configure/get-prompts.js +++ b/lib/tasks/configure/get-prompts.js @@ -30,7 +30,7 @@ module.exports = function getPrompts(config, argv, environment) { type: 'input', name: 'dbhost', message: 'Enter your MySQL hostname:', - default: config.get('database.connection.host', 'localhost') + default: config.get('database.connection.host', '127.0.0.1') }); }