Zenphoto encountered an error

MySQL Error: Zenphoto received the error Lost connection to MySQL server at 'reading initial communication packet', system error: 0 when connecting to the database server.