Error: 'Access denied for user 'user'@'localhost''

This article provides information about the access denied error while connecting to the MySQL server. The following error is received:

Access denied for user 'user'@'localhost'

The MySQL user credentials which are specified in __swift/config/config.php are being rejected by your MySQL server.

For information on creating a new MySQL user, see Creating and Selecting a Database.