I'm getting error establishing database connection for admin login only

I cannot login to the Dashboard admin area - I get 'error establishing database connection' message - but the front end of the site is working fine.
Can anyone advise what I can do about it. It's been like this for at least 5 hours.
many thanks