How to export Northwind Access database to MySQL
Inside This ArticleRestore northwind database from SQL dump
On previous page of this article, we have gone thru quite a bit in details to explain how to convert our original, plain vanilla
northwind MySQL database into a true relational MySQL database. Now, if you haven't followed each step and manually implemented
the conversion by yourself, you can download the finished version into MySQL. This process is called restore a database.
Download northwind SQL database script if you haven't done so.
Use SQLyog to restore northwind in MySQL
SQLyog is an open-source software. Its functionalities are very similar
to those in Microsoft SQL Server Query Analyzer. When I first started to use MySQL server five years ago, I used command based SQL for various
database operations on Windows and that was not fun. At that time, Microsoft SQL Server Query Analyzer was already a popular client tool which I hoped
there was a similar one for MySQL. I searched and tried a few client tools for MySQL and finally settled down with SQLyog. Over the years, SQLyog
is just getting better and better.
Step #1: Unzip the downloaded northwind-sql.zip to your Desptop.
After unzip, northwind.sql normally is in this directory C:\Documents and Settings\Desktop\northwind\northwind.sql
Step #2: Open and log into SQLyog.
Step #3: On the menu bar across the top, click Tools -> Restore From SQL Dump...

Step #4: When the restore window is opened, select northwind.sql from the unzipped file on your Desktop.

Step #5: Click Execute to restored from the dump.

Things to note when restoring northwind
1. The restore works on MySQL version 5.0 or greater because I included character set and collation information in varchar and text columns.
2. If you have already got northwind database set up in your mysql server, you need to remove it before restore this downloaded one.
Next page shows the generated Northwind database schema. It was automatically generated by SQLyog.
Copyright© GeeksEngine.com
| Inside This Article Related Articles:
Other Recent Articles from the WAMP & LAMP category:
|