[SOLVED] How to redirect database to url

klinion

Joined: 2009-02-26
Posts: 180
Posted: Tue, 2013-06-11 13:09

Hi, my problem came about when upgrading to 3.0.8. I got the "Dang" message a few times when adding "upgrade" to the url address.At some stage it changed it seems, without my input, to "install" so I foolishly went ahead, created a database and installed the new version which relates to the url below.
Now I have the original database "gallery3" with all photos, etc in it and this new database with nothing in it which relates to the url address.
My question is, how, if it's possible, can I get the original database "gallery3" to be the target for the url below.
I think I know why I got the "Dang" message but can't solve that until I return to the way it was,
Thank You,
Ken
www.talkingwalk.com/gallerywalk

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Tue, 2013-06-11 13:15

take a look at your gallery/var/database.php

 
klinion

Joined: 2009-02-26
Posts: 180
Posted: Tue, 2013-06-11 13:59

Thanks for quick response. Does that mean I could just change the user, password and database name in this file? That would be great but I no longer have the user password and have no idea how to retrieve it. Any thoughts? Just found that I can change the password in cpanel so, if I just need those changes should be ok
Ken
www.talkingwalk.com/gallerywalk

 
jnash
jnash's picture

Joined: 2004-08-02
Posts: 814
Posted: Tue, 2013-06-11 17:35

Yes, you can make the changes there. I'd of course make a backup though! :)

 
klinion

Joined: 2009-02-26
Posts: 180
Posted: Tue, 2013-06-11 19:57

Problem solved,
Thank you
Ken
www.talkingwalk.com/gallerywalk