Linux / Windows – what’s the difference…

Mysql on windows and wamp backup and restore

This will create your database “mydb” and restore db_backup.sql from folder: C:\wamp\bin\mysql\mysql5.5.24\bin\

C:\wamp\bin\mysql\mysql5.5.24\bin> mysql -u root -p --default-character-set=utf8

mysql> create database mydb;
mysql> use mydb;
mysql> source db_backup.sql;

Leave a Reply

Your email address will not be published. Required fields are marked *