Error establishing a database connection

After I update the wordpress version, my website went down and it show "Error establishing a database connection" now. How can I fix it? Thanks