$ mysqldump -uroot -p "db_name" > dump_db.sql
$ mysqladmin -uroot -p create "new_db_name" (or just "db_name")
$ mysql -uroot -p "new_db_name" < dump_db.sql
WRITTEN BY
- RootFriend
개인적으로... 나쁜 기억력에 도움되라고 만들게되었습니다.
,
$ mysqldump -uroot -p "db_name" > dump_db.sql
$ mysqladmin -uroot -p create "new_db_name" (or just "db_name")
$ mysql -uroot -p "new_db_name" < dump_db.sql