As we explained earlier, WordPress needs to connect to your database to serve content to your browser. To establish this connection, WordPress needs the correct database username and password; otherwise, you get the error Establishing Database Connection message. Here is how to Create New Login Credentials.