Best of Technical Support

Our experts answer your technical questions.
Moving from Microsoft to MySQL on Debian

I'm wondering about the best way to transfer the content (text and graphic files) of an SQL 7.0 database (running on NT Server) into a MySQL database running on Debian GNU/Linux. A related question is how to best migrate ASP pages to a Debian (or other version) Linux platform. Your guidance is greatly appreciated. —Carl Lawson, lawson@oz.net

First off, moving one database to another is not a trivial task. It's like porting a program from one platform to another, there are implementation-specific issues to consider. For example, MySQL does not support some SQL features that Microsoft SQL Server does. The easiest way to port this would be to dump the contents of the SQL Server database to a text file, re-create the tables in MySQL and then use the mysqlimport command to read the data into your new database. Another option would be to move the data programmatically, using Perl or Java with ODBC. This would allow you to validate or manipulate the data before inserting it. As for ASP, install Apache with mod_perl support and then install the ASP module. For more information and downloads, go to http://www.nodeworks.com/asp/. —Paul Christensen, pchristensen@penguincomputing.com

______________________

Geek Guide
The DevOps Toolbox

Tools and Technologies for Scale and Reliability
by Linux Journal Editor Bill Childers

Get your free copy today

Sponsored by IBM

Upcoming Webinar
8 Signs You're Beyond Cron

Scheduling Crontabs With an Enterprise Scheduler
11am CDT, April 29th
Moderated by Linux Journal Contributor Mike Diehl

Sign up now

Sponsored by Skybot