This error message is telling you that the details inside of the connection file are not correct for your database. You will need to go to the database tab of the application panel and edit the connection. In here you will need to enter your username and password to access your db. Once the correct info is entered here you should be able to establish a connection to the db and preview the pages.