When trying to run the setup script to install Kayako Classic, you might encounter a blank page and the error registered on the server log is the following:
Unable to connect to Database. Please verify the username, password, grant permissions
and the database status: SWIFT::Initialize
This article provides information on how to fix this issue.
The most common reason why this error is generated is that the call initiating the database connection is unable to establish it due to incorrect credentials or lack of permission to access the database.
To resolve this issue, follow these steps:
- Log in to your server and navigate to
- Open the
- Make sure the database username, password, and DB name are entered correctly in their respective line.
- Save the file when done.
NOTE: If the DB credentials are correctly entered in the
config.phpfile, check if the DB user has all privileges granted. If you need help setting up your database or configuring a user account, refer to your server configuration tool's documentation.