Index: wp-includes/wp-db.php
===================================================================
--- wp-includes/wp-db.php	(revision 28005)
+++ wp-includes/wp-db.php	(working copy)
@@ -1338,6 +1338,11 @@
 				}
 			}
 
+			// Persistent connections with mysqli are prepended with p:
+			if ( ! $new_link ){
+				$host = "p:{$host}";
+			}
+
 			if ( WP_DEBUG ) {
 				mysqli_real_connect( $this->dbh, $host, $this->dbuser, $this->dbpassword, null, $port, $socket, $client_flags );
 			} else {
