Zenphoto encountered an error

MySQL Error: Zenphoto received the error No connection could be made because the target machine actively refused it. when connecting to the database server.