Zenphoto encountered an error

MySQL Error: Zenphoto received the error Lost connection to MySQL server at 'reading final connect information', system error: 0 when connecting to the database server.