If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > migrating from MySQL to SQL Anywhere

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-06-07, 01:20
inet inet is offline
Registered User
 
Join Date: Jul 2007
Posts: 1
migrating from MySQL to SQL Anywhere

hi guys.
i need help.
i'm using SUSE (Linux) and work in server environment.
now i have an assignment to migrate my database from MySQL to SQL ANywhere using PHP Nuke 8.0.
do i have to use migration kit or only from SQL query??
and actually i really dont know what SQL Anywhere is..except bout the SYBASE thing..
if you have any recommendation, please help me...
thankZ..
Reply With Quote
  #2 (permalink)  
Old 07-06-07, 04:40
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
Inet

I have no experience of SQL Anywhere but was just wondering whether you could just dump your MySQL database - to produce a file full of SQL that could then be used as a script to run through SQL Anywhere.

Obviously the SQL may be slightly different on both systems. You could alter the parts that create the database/tables/indexes by hand. Then use something like sed to "search and replace" the differences in the insert statements. If you're using sprocs etc then things will get more difficult as these will have to be rewritten.

Hopefully someone will know a less manual method but it shouldn't take too long using the method above.

Mike
Reply With Quote
  #3 (permalink)  
Old 07-06-07, 09:43
jlahc jlahc is offline
Registered User
 
Join Date: Jul 2007
Posts: 6
SQL Anywhere's management console (called Sybase Central), has a database migration wizard that works with MySQL data sources. All you need is an ODBC data source to your MySQL database. In addition, here is a technical document which discusses migration from MySQL to SQL Anywhere:
http://www.ianywhere.com/whitepapers...ysql_asa9.html

It is focused on migrating from MySQL 5 to SQL Anywhere 9, but will also work to migrate to SQL Anywhere 10.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On