diff --git a/functions.inc.php b/functions.inc.php index 3a15697f..acfe8589 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1583,7 +1583,7 @@ function db_connection_string() { if ($socket) { $dsn .= "unix_socket={$socket}"; } else { - $dsn .= "mysql:host={$CONF['database_host']}"; + $dsn .= "host={$CONF['database_host']}"; } if (isset($CONF['database_port'])) {