The connection to the database server could not be established.

The error message of the database server:
Access denied for user 'elegantl_joomla'@'localhost' (using password: YES)