From db2fd9007fc4455bb1a9b09bac0cdd84c2b0a081 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Thu, 9 Sep 2010 16:48:03 +0000 Subject: [PATCH] Per bug 22884, using "localhost" probably won't work on Windows. However, it's not a PHP bug, or even really something we should handle. It's up to the person performing the installation to ensure a connection to MySQL exists; we shouldn't presume 127.0.0.1 is a valid replacement in all Windows scenarios. So, we'll update the help info with a friendly suggestion for those who might hit this. --- includes/installer/Installer.i18n.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/installer/Installer.i18n.php b/includes/installer/Installer.i18n.php index 241f6097a6..75d4ba8c2e 100644 --- a/includes/installer/Installer.i18n.php +++ b/includes/installer/Installer.i18n.php @@ -172,7 +172,9 @@ Although MediaWiki checks all uploaded files for security threats, it is highly 'config-db-host' => 'Database host:', 'config-db-host-help' => 'If your database server is on different server, enter the host name or IP address here. -If you are using shared web hosting, your hosting provider should give you the correct host name in their documentation.', +If you are using shared web hosting, your hosting provider should give you the correct host name in their documentation. + +If you are installing on a Windows server and using MySQL, using "localhost" may not work for the server name. If it does not, try "127.0.0.1" for the local IP address', 'config-db-wiki-settings' => 'Identify this wiki', 'config-db-name' => 'Database name:', 'config-db-name-help' => 'Choose a name that identifies your wiki. -- 2.20.1