Zenphoto encountered an error

MySQL Error: The database is connected, but MySQL returned the error Lost connection to MySQL server during query when Zenphoto tried to select the database 1794805-2.