Hi Rodrigo.

I'm facing a similar task but from Informix to MySQL. What I do is:

1. Obtain a SQL script to create the logical database (an Informix tool
give it). You can use Erwin, with reverse engineer and the save the
script.

2. Add the "Type=INNODB" clause for each CREATE sentence. 

3. Divide the scritp into tow: one for the tables creation (with its
primary key)  (CreateDB.sql) and another one for the alter tables to
create the foreing keys (AlterDB.sql).

4. Create a script for loading data from TXT files. First you have to
save every table data from SQL Server into TXT files, then load them
into MySQL tables (LoadDB.sql).

5. Run the AlterDB.sql script (step 3).

It works fine to me.

Regards,
David.
 
======================
David Carlos Brunstein
System Analyst / Software Developer
Buenos Aires, Argentina
 
Mail to: David _ Brunstein @ Yahoo . Com . ar
IM: DavidBrunstein @ Hotmail . Com



-----Original Message-----
From: Rodrigo Galindez [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 10, 2004 3:38 AM
To: [EMAIL PROTECTED]
Subject: MSSQL to MYSQL


Hello list,
    I have to move a database in MSSQL to MYSQL, with the table 
structures and all the respective data. I tested one product to do this,

SQLyog, and it works fine, except for some little problems with indexes 
and primary/secondary keys. I want to know if anyone have been dealing 
with the same problem to recommend me some suggestions/tips/tricks. Do 
you know another program/script/ways to do this migration ? I want to 
migrate everything from the original MSSQL database, like indexes, 
relationships, and so on. Can you guys recommend me some actions or tips

to take ?
    Thanks in advance,

-- 
Rodrigo Galindez
Information Management Assistant
Center for Human Rights and Environment (CEDHA)
Gral Paz 186 10 A
5000 - Cordoba - Argentina
Tel/fax 54-351-4256278
[EMAIL PROTECTED]
www.cedha.org.ar


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]



-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to