Error when setting up Zenphoto

Hi all,

I've experienced the following error when installing Zenphoto on my domain.

http://www.jphang.com/zenphoto/zp-core/setup.php
"connect to MySQL
Could not connect to the MySQL server. Check the user, password, and database host in your zp-config.php file and try again."

I've double check my username, password and database.

I was referring to http://www.zenphoto.org/support/topic.php?id=1353&replies=22 and I believe we have similar problems. I have wordpress installed on my rootdirectory, as well as zenphoto. However, I am not sure what type of settings should the wordpress have in order to sync with zenphoto.

Pls advise.

Jackson

Comments

  • The thread you are refering to is from a much older version of zenphoto. Perhaps your zp-config.php file is corrupt as was the case in that thread. You could check.

    The error message you are getting is from the system check in setup.php. What it is telling us is that the call `@mysql_connect($_zp_conf_vars['mysql_host'], $_zp_conf_vars['mysql_user'], $_zp_conf_vars['mysql_pass']))` failed to get a connection. So it would seem that one of those fields must be incorrect or there is some problem using mySQL from PHP scripts on your server.
  • Thanks. The problem is solved. I am hosting my domain under ipower and apparently the host of mysql is not localhost.

    Thanks for reminding me to check on those three things again =)
Sign In or Register to comment.