Zenphoto encountered an error

MySQL Error: Zenphoto received the error Connection timed out when connecting to the database server.