Zen Cart Logo
Forums / General Questions / Moving to new server

Moving to new server

Locked

Views: 2,588

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
2 Jun 2006, 11:56 AM
#1
peak avatar

peak

New Zenner

Join Date:
Mar 2005
Posts:
37
Plugin Contributions:
0

Moving to new server

I am trying to move to a new server. all files installed ok. But when I back up database using myphpadmin, If I have the database installed empty on new server I get message after import "database already exists'
If I instal at new server under diferent name I get message after instal "instalation OK' But the databse is not there? Thanks, Appreciate any help!

2 Jun 2006, 12:15 PM
#2
ryk avatar

ryk

Totally Zenned

Join Date:
Oct 2004
Location:
Southport, UK
Posts:
3,644
Plugin Contributions:
6

Re: Moving to new server

Open the database file in a text editor and delete the first few lines about creating DATABASE.

3 Jun 2006, 12:42 AM
#3
peak avatar

peak

New Zenner

Join Date:
Mar 2005
Posts:
37
Plugin Contributions:
0

Re: Moving to new server

Hi Ryk, thanks for that, I have got the database in, but on entry to admin I get this;

'1146 Table 'mydutyf_dutyfree.dutyfreeproject_version' doesn't exist '

where mydutyf_dutyfree is the new database name?
It wont load main page 'index.php'
Thanks again pealk

3 Jun 2006, 12:50 AM
#4
peak avatar

peak

New Zenner

Join Date:
Mar 2005
Posts:
37
Plugin Contributions:
0

Re: Moving to new server

Also when I use 'fix_cache_key.php' I get;
1146 Table 'mydutyf_dutyfree.dutyfreeconfiguration' doesn't exist

3 Jun 2006, 12:51 AM
#5
vger avatar

vger

Past Contributor

Join Date:
Nov 2004
Location:
Norfolk, United Kingdom
Posts:
3,189
Plugin Contributions:
0

Re: Moving to new server

When you took a backup of the old database using phpMyAdmin did you select the option to make it compatible with a certain version of MySQL e.g. 4+ series. If you did this and are now trying to install on a server using MySQL 5 then you will have problems.

If you have the option of taking a fresh backup of the old database then try it again, and make sure that it is just saved as a raw MySQL file.

Vger

3 Jun 2006, 1:01 AM
#6
peak avatar

peak

New Zenner

Join Date:
Mar 2005
Posts:
37
Plugin Contributions:
0

Re: Moving to new server

vger I am trying to move a 4.027 to 4.024 so versions are near enough the same? peak