Zenphoto encountered an error

MySQL Error: Zenphoto could not connect to the database server. (Lost connection to MySQL server at 'reading initial communication packet', system error: 111)