Zenphoto Error

MySQL Error: Zenphoto could not connect to the database server.Check your zp-config.php file for the correct host, user name, and password.Note that you may need to change the host from localhost if your web server uses a separate MySQL server, which is common in large shared hosting environments like Dreamhost and GoDaddy.Also make sure the server is running, if you control it.

Backtrace:

   in db_connect (functions-db.php [58])
     in require_once (functions-basic.php [55])
       in require_once (class-load.php [6])
         in require_once (template-functions.php [13])
           in require_once (index.php [15])