Error establishing a database connection

when I open a multi-domain site, I get this error on the root domain page:
Error establishing a database connection