使用mysqldump导出数据库:

# mysqldump  -u  root  -p  gzy   >  gzy.sql
# mysqldump -u 数据库连接用户名 -p 目标数据库 > 存储的文件名

使用sql文件导入数据库:

# mysql  -u  用户名  -p  数据库名  <  数据库名.sql
# mysql -u root -p gzy < gzy.sql

最新文章

  1. (六)文件操作的主要接口API
  2. secure erase 时必须umount
  3. c# DataTable中使用排序的时候注意事项
  4. 常见sql的error解决方法
  5. CSS3伪类nth-child结合transiton动画实现文字若影若现
  6. 几个前端博客 good
  7. hdu 5510 Bazinga(字符串kmp)
  8. [转载]PrintDocument,PrintDialog与PrintPreviewDialog用法总结
  9. sorted
  10. MySQL:(二)
  11. spark 线性回归算法(scala)
  12. GLSL版本的区别和对比
  13. Springboot Download file
  14. 1.内网ntp服务器的搭建
  15. PHP内存溢出Allowed memory size of 解决办法
  16. Python脚本生成sitemap
  17. redis客户端hiredis
  18. 将 R 整合到 markdown 中
  19. C#-WebForm-网页中Form表单中给回车绑定按钮
  20. Flink-on-yarn

热门文章

  1. Android开发 了解ViewModel
  2. MongoDB4.0及以上的版本安装时无法启动服务。
  3. CF538G Berserk Robot
  4. 配置类一@CrossOrigin
  5. layui弹框文件导入
  6. BZOJ 1089 (SCOI 2003) 严格n元树
  7. Markdown转义字符表
  8. centos下 安装python相关
  9. PAT甲级——A1104 Sum of Number Segments【20】
  10. WEB前端使用的CSS3选择器