From 8344afc76e0d669c3980d52f5abd9c340df18202 Mon Sep 17 00:00:00 2001 From: Joe <joe@autistici.org> Date: Fri, 3 May 2013 21:16:57 +0200 Subject: [PATCH] Adding port to the server definition for the local read-only global dataset --- r2db/db-backends.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2db/db-backends.php b/r2db/db-backends.php index 44180a2ef..e99f2df16 100644 --- a/r2db/db-backends.php +++ b/r2db/db-backends.php @@ -57,7 +57,7 @@ function noblogs_load_global_dataset($master_file, $ip_file) { } else { $globaldb['read'] = 0; $wpdb->add_database($globaldb); - $globaldb['host'] = $ldata; + $globaldb['host'] = $ldata . ":" . $mdata["port"]; $globaldb['read'] = 1; $globaldb['write'] = 0; $wpdb->add_database($globaldb); -- GitLab