// Show message for socket connection via 'unix_socket' option.
$message='Drupal is configured to connect to the database server via a socket, but the socket file could not be found.';
$message.=' This message normally means that there is no MySQL server running on the system or that you are using an incorrect Unix socket file name when trying to connect to the server.';
// Show message for socket connection via 'host' option.
$message='Drupal was attempting to connect to the database server via a socket, but the socket file could not be found.';
$message.=' A Unix socket file is used if you do not specify a host name or if you specify the special host name localhost.';
$message.=' To connect via TPC/IP use an IP address (127.0.0.1 for IPv4) instead of "localhost".';
$message.=' This message normally means that there is no MySQL server running on the system or that you are using an incorrect Unix socket file name when trying to connect to the server.';
$message='This message normally means that there is no MySQL server running on the system or that you are using an incorrect host name or port number when trying to connect to the server.';
$message.=' You should also check that the TCP/IP port you are using has not been blocked by a firewall or port blocking service.';
$this->assertSession()->pageTextContains('Resolve all issues below to continue the installation. For help configuring your database server,');
$this->assertSession()->pageTextContains('[Tip: Drupal was attempting to connect to the database server via a socket, but the socket file could not be found. A Unix socket file is used if you do not specify a host name or if you specify the special host name localhost. To connect via TPC/IP use an IP address (127.0.0.1 for IPv4) instead of "localhost". This message normally means that there is no MySQL server running on the system or that you are using an incorrect Unix socket file name when trying to connect to the server.]');
$this->assertSession()->pageTextContains('Resolve all issues below to continue the installation. For help configuring your database server,');
$this->assertSession()->pageTextContains("[Tip: This message normally means that there is no MySQL server running on the system or that you are using an incorrect host name or port number when trying to connect to the server. You should also check that the TCP/IP port you are using has not been blocked by a firewall or port blocking service.]");