Index: wp-includes/wp-db.php
===================================================================
--- wp-includes/wp-db.php	(revision 36443)
+++ wp-includes/wp-db.php	(working copy)
@@ -1080,9 +1080,9 @@
 				$message .= "</ul>\n";
 
 				$message .= '<p>' . sprintf(
-					/* translators: %s: support forums URL */
-					__( 'If you don&#8217;t know how to set up a database you should <strong>contact your host</strong>. If all else fails you may find help at the <a href="%s">WordPress Support Forums</a>.' ),
-					__( 'https://wordpress.org/support/' )
+					/* translators: %s: WordPress Support Forums */
+					__( 'If you don&#8217;t know how to set up a database you should <strong>contact your host</strong>. If all else fails you may find help at the %s.' ),
+					'<a href="' . esc_url( __( 'https://wordpress.org/support/' ) ) . '">' . __( 'WordPress Support Forums' ) . '</a>'
 				) . "</p>\n";
 
 				$this->bail( $message, 'db_select_fail' );
@@ -1538,9 +1538,9 @@
 			$message .= "</ul>\n";
 
 			$message .= '<p>' . sprintf(
-				/* translators: %s: support forums URL */
-				__( 'If you&#8217;re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href="%s">WordPress Support Forums</a>.' ),
-				__( 'https://wordpress.org/support/' )
+				/* translators: %s: WordPress Support Forums */
+				__( 'If you&#8217;re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the %s.' ),
+				'<a href="' . esc_url( __( 'https://wordpress.org/support/' ) ) . '">' . __( 'WordPress Support Forums' ) . '</a>'
 			) . "</p>\n";
 
 			$this->bail( $message, 'db_connect_fail' );
@@ -1642,9 +1642,9 @@
 		$message .= "</ul>\n";
 
 		$message .= '<p>' . sprintf(
-			/* translators: %s: support forums URL */
-			__( 'If you&#8217;re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the <a href="%s">WordPress Support Forums</a>.' ),
-			__( 'https://wordpress.org/support/' )
+			/* translators: %s: WordPress Support Forums */
+			__( 'If you&#8217;re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the %s.' ),
+			'<a href="' . esc_url( __( 'https://wordpress.org/support/' ) ) . '">' . __( 'WordPress Support Forums' ) . '</a>'
 		) . "</p>\n";
 
 		// We weren't able to reconnect, so we better bail.
