Search This Blog

Friday 6 May 2011

restoring a mysql db from file

restoring a mysql db from file

mysql> create database charm;

$ mysql -u matt -D charm -p < charm.sql

mysql> grant all on charm.* to matt;

No comments:

Post a Comment