Database Error Can't open the website

Hello, why my website sometimes showed database error : Error establishing a database connection?