Forums / Templates, Stylesheets, Page Layout / Move DB with overide files

Move DB with overide files

Locked

Views: 944

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
3 Oct 2009, 7:53 AM
#1
flashy275 avatar

flashy275

New Zenner

Join Date:
Sep 2009
Posts:
55
Plugin Contributions:
0

Move DB with overide files

I've been working on a Zen site for the last few weeks, every time I've been stuck the search button in here has come to my rescue, but not this time.
So I need to ask the question, I move all the overide files to my site, how do I move the DB. I know were it is on my WAMP system (in mysql/data) but don't know were to put in on the host. Site is not loaded yet, intend to do it next week.
thanks in advance.

New Zenner on 1.38a

3 Oct 2009, 8:20 AM
#2
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Move DB with overide files

The normal way to move a database is to back it up in the original location (e.g. using a tool such as phpMyAdmin) and restore it to the new one.

If you have more sophisticated database management tools such as sqlYog or NavCat you can open connections to the old and the new databases and synchronise them.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

3 Oct 2009, 1:14 PM
#3
flashy275 avatar

flashy275

New Zenner

Join Date:
Sep 2009
Posts:
55
Plugin Contributions:
0

Re: Move DB with overide files

Thanks Kuroi, had a feeling you might say that. I have Navcat which is superb piece of software so I will use that. Do I take it the DB on the server is not accesable directly...ie copy & past then?

3 Oct 2009, 1:40 PM
#4
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

Re: Move DB with overide files

Well ultimately a database is just a collection of files sitting on a hard disk. But what you would see as a database is just a subset of the wider MySQL database into which they are integrated.

If you have access to those files (which on a shared server you wouldn't) you can identify those that make up your database. However, that's the easy bit. The much more difficult bit would be then hooking those files into the rest of the MySQL database so that you can access the contents. That's why we have tools like Navicat.

Kuroi Web Design and Development | Twitter

(Questions answered in the forum only - so that any forum member can benefit - not by personal message)

3 Oct 2009, 6:38 PM
#5
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Move DB with overide files

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.