How to migrate a MySql 4.x database to MySQL 5.0? -
I have a zip file for the Microsoft MySQL 4.x installation database, in which MySQL files and database files (.mii,. Myd, frm) I have a Windows MySQL 5.0 running.
I need to bring a data in life to life in the current active MySQL 5.0 zip file. How can this be done?
Run a mysql dump, with your first database running in mysql 4 database
mysqldump dbname & gt; Dbname.sql
Then load that file into your MySQL 5 database ...
mysql -e "create database dbname" mysql dbname & lt ; Dbname.sql
Of course you have to set up your user manually.
Comments
Post a Comment