MySQL Server 5.5 如何在dos环境下导出数据库?急求。。。谢谢了 5
1个回答
展开全部
(1)导出mysql数据库ajswlw
进入mysql安装目录C:\Program Files\MySQL\MySQL Server 5.5\bin>
mysqldump –h localhost –u root –p ajswlw>d:\ajwlw.sql
(2)导出mysql数据库ajswlw的tb_user表及数据
进入mysql安装目录C:\Program Files\MySQL\MySQL Server 5.5\bin>
mysqldump –h localhost –u root –p ajswlw tb_user>d:\user.sql
(3)导出mysql数据库ajswlw的结构 未实现
进入mysql安装目录C:\Program Files\MySQL\MySQL Server 5.5\bin>
mysqldump –h localhost –u root –p ajswlw -add-drop-table>d:\stru.sql
试试看吧
进入mysql安装目录C:\Program Files\MySQL\MySQL Server 5.5\bin>
mysqldump –h localhost –u root –p ajswlw>d:\ajwlw.sql
(2)导出mysql数据库ajswlw的tb_user表及数据
进入mysql安装目录C:\Program Files\MySQL\MySQL Server 5.5\bin>
mysqldump –h localhost –u root –p ajswlw tb_user>d:\user.sql
(3)导出mysql数据库ajswlw的结构 未实现
进入mysql安装目录C:\Program Files\MySQL\MySQL Server 5.5\bin>
mysqldump –h localhost –u root –p ajswlw -add-drop-table>d:\stru.sql
试试看吧
参考资料: http://hi.baidu.com/acm%B2%BB%B9%D2%BF%C6/blog/item/82dabe2a2ccbcf2b359bf7e9.html
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询