Member
Member
nicolai   2010-01-18, 01:32
#1

I have just installed my own copy of zenphoto. But I can't get past the setup page. I have checked and double checked that i am using the right database, pw and so on, but nothing happens when I click the save button. And when I visit the site I get an error that zenphoto can't connect to database. What am I doing wrong?

Member
Member
micheall   2010-01-18, 02:58
#2

Make sure you're using the right database host. Some hosting companies instead of using "localhost" will use an internal address like "mysql1234.internalhost.net" or something like that. If it's saying it can't connect to database it should also tell you why, like could not find host, invalid password, something like that.

Member
Member
sbillard   2010-01-18, 04:47
#3

Actually, zenphoto will not tell you why it cannot connect since that information is not available at all. (Mostly for security reasons!!!) Cannot connect to the database means that one of the items about your database is not correct.

If you have checkec and rechecked the database, user, and password the only thing left is micheall's suggestion of database host.

If you have checked, rechecked, and checked again everything, then you are decieved about one of those items.

Member
Member
micheall   2010-01-18, 05:26
#4

Ah, I hadn't run into the error, figured zenphoto passed the error reason along like other php scripting. Makes sense that it doesn't. But yeah, if you're positive that you've got the name/pass/databse correct then it's likely the database host issue.

Member
Member
nicolai   2010-01-18, 13:13
#5

I'm hosted with Dreamhost, and am using the right database host, if I go to that hosting site I am able select the database I'm using so the setting is definitely right. Do I need to set up a table in the database for it to work? It's pretty much the only thing I can think of could be a problem???

Administrator
Administrator
acrylian   2010-01-18, 14:25
#6

No, setup creates the tables but you of course might need to setup a database first if you haven't. On some hosts setup can do that but not on all (mine for example).

Member
Member
nicolai   2010-01-18, 17:21
#7

Both host and database is set up. Hmm- might have to go back to Gallery :-(

Administrator
Administrator
acrylian   2010-01-18, 17:48
#8

Well, we have many users that use Dreamhost so something must be wrong. Are thery any more specific errors in the server's error log maybe?

Member
Member
nicolai   2010-01-18, 17:55
#9

ok deleted the database and did the whole thing again. It now works, wooohhooo

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.