Zen Cart Logo
Forums / General Questions / Migrating MySQL 3.23 to 4.1

Migrating MySQL 3.23 to 4.1

Locked

Views: 1,128

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
4 Jan 2007, 9:18 PM
#1
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Migrating MySQL 3.23 to 4.1

I am changing to a new webhost for my site, and am having a database issue.

The old MySQL server is running version 3.23.58. The new server is running 4.1. When I try and import the old database tables into the new, nothing happens. It says that it imports successfully, but there are no tables showing up.

After looking around the web for info on this, I am wondering if I must install an old version of MySQL on my own machine, import the database, upgrade to 4.1, and then export a shiny new 4.1 compatable database from there...

I have also tried downloading the MySQL Migration tools. Unfortunatly I'm on a Mac and one of the 4 tools included, called Migration, is not available for the Mac.

Has anyone else had this issue?

Thanks,
Bryan

4 Jan 2007, 10:06 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Migrating MySQL 3.23 to 4.1

At the bottom of each CREATE TABLE statement is a line that says ENGINE=blahblah

Chances are that you'll need to change that to TYPE=blahblah in order to get it to import properly.

You might find it easier to export structure only into one file, make the fixes and import.
THen export data-only and import it onto the new server which now has the structure in place.

5 Jan 2007, 3:01 AM
#3
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Migrating MySQL 3.23 to 4.1

And a good host should be capable of doing this in a blink for you.

5 Jan 2007, 5:28 PM
#4
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Re: Migrating MySQL 3.23 to 4.1

Well, I'm switching to Network Solutions. They seem like they should be capable of doing it, but after many phone conversations with a customer service rep, and having my issue sent up to "Engineering" I'm not so sure. There is no way to contact one of these "Engineers" directly, so I am planning on doing it myself.

I started importing each table individually, which worked pretty well. There are only two tables left that wont import...products_type_layout and products_description.

I will try the ENGINE to TYPE thing and try it again. Thanks for the help.

Bryan

7 Jan 2007, 1:35 AM
#5
drbyte avatar

drbyte

Sensei

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

Re: Migrating MySQL 3.23 to 4.1

I'm sure you have your reasons, but Network Solutions is an odd choice. Why pay so much more for the same features you could get elsewhere for typically less cost and more personalized and knowledgeable service?

Nevertheless, good luck with your imports.

14 Jan 2007, 10:58 PM
#6
spigot avatar

spigot

New Zenner

Join Date:
Oct 2006
Posts:
28
Plugin Contributions:
0

Re: Migrating MySQL 3.23 to 4.1

Network Solutions was the clients choice. And from where the site was before, its a big improvement, and substantially lower in cost (This place was charging $140 a month). So we are where we are.

Import happened. I had to import each table separately, and had trouble with only the two tables I mentioned before. Switching the ENGINE to TYPE idea worked. Site is up. Thanks.

14 Jan 2007, 11:51 PM
#7
drbyte avatar

drbyte

Sensei

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

Re: Migrating MySQL 3.23 to 4.1

Thanks for the follow-up. Glad it's working!