Forums / General Questions / Moving to new site different server & database name

Moving to new site different server & database name

Locked

Views: 1,557

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Mar 2009, 5:59 PM
#1
rufusclc avatar

rufusclc

Zen Follower

Join Date:
Sep 2008
Location:
San Diego
Posts:
159
Plugin Contributions:
0

Moving to new site different server & database name

I have looked for an answer to this problem in vain
I am looking to mirror my database on my wife's site -
which is on a different server with a different name and different password for the database.
I have made a back-up but when I do the restore to the new site I get a message:
MySQL said: Documentation #1044 - Access denied for user 'cad'@'%' to database 'clonecop_clonecart'
Thanx in advance

24 Mar 2009, 6:47 PM
#2
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Moving to new site different server & database name

You have to edit admin/includes/configure.php and includes/configure.php.

This tutorial should help https://www.zen-cart.com/tutorials/index.php?article=99

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

24 Mar 2009, 6:51 PM
#3
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Moving to new site different server & database name

Thinking about this some more... if you uploaded your database, the password, user and (possibly) the database name are different. Check the configure files I mentioned earlier.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey

24 Mar 2009, 6:57 PM
#4
rufusclc avatar

rufusclc

Zen Follower

Join Date:
Sep 2008
Location:
San Diego
Posts:
159
Plugin Contributions:
0

Re: Moving to new site different server & database name

Yup, database name and password are different - should I simply change database on wife's site to match the details on my database on my site = the sites are on different servers

24 Mar 2009, 7:05 PM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

Re: Moving to new site different server & database name

It's not clear to me what you're trying to do. Is your wife also running ZC on her site? If you edit the configuration files I mentioned earlier to match the information of your wife's database, it should solve the problem. If that information is already correct, there's a mismatch between the information and the data in the database because of the copy. You'll have to put the 2 in sync. Find out the name of the database, the user and the ID and adjust the configuration files accordingly.

Mary Ellen
I came; I saw; I Zenned
Taking over the world... one website at a time
Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

Holzheimer
Fan Odyssey