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

______________________

Free Dummies Books
Continuous Engineering

Learn:

  • What continuous engineering is
  • How to continuously improve complex product designs
  • How to anticipate and respond to markets and clients
  • How to get the most out of your engineering resources

Get your free book now

Sponsored by IBM

Free Dummies Books
Service Virtualization

Learn to:

  • Define service virtualization
  • Select the most beneficial services to virtualize
  • Improve your traditional approach to testing
  • Deliver higher-quality software faster

Get your free book now

Sponsored by IBM