MySQL数据库的导入和导出

打开MySQL Command Line Client,输入密码。

建立新的数据库,create database db_name;

使用这个数据库,use db_name;

导入数据,source c:/dump.sql

 

如何导出,参考第一个链接。

 

参考:

[1]http://www.mydigitallife.info/2007/07/21/how-to-backup-and-restore-export-and-import-mysql-databases-tutorial/

[2]http://livedocs.adobe.com/dreamweaver/mx2004/getting_started_en/gs_14_20.htm

[3]http://dev.mysql.com/doc/refman/5.0/en/batch-commands.html

posted on 2009-03-27 00:02  爱你一万年123  阅读(266)  评论(0编辑  收藏  举报

导航