Whenever you see that, it means that WordPress cannot connect with the database server.
If you aren't changing your connection details in your wp-config.php file, then that means the database server is going offline, and you'll need to contact your hosting provider to find out why.