linux下mysql导入导出sql文件
2024-10-09 08:07:18
使用mysqldump导出数据库:
# mysqldump -u root -p gzy > gzy.sql
# mysqldump -u 数据库连接用户名 -p 目标数据库 > 存储的文件名
使用sql文件导入数据库:
# mysql -u 用户名 -p 数据库名 < 数据库名.sql
# mysql -u root -p gzy < gzy.sql
最新文章
- (六)文件操作的主要接口API
- secure erase 时必须umount
- c# DataTable中使用排序的时候注意事项
- 常见sql的error解决方法
- CSS3伪类nth-child结合transiton动画实现文字若影若现
- 几个前端博客 good
- hdu 5510 Bazinga(字符串kmp)
- [转载]PrintDocument,PrintDialog与PrintPreviewDialog用法总结
- sorted
- MySQL:(二)
- spark 线性回归算法(scala)
- GLSL版本的区别和对比
- Springboot Download file
- 1.内网ntp服务器的搭建
- PHP内存溢出Allowed memory size of 解决办法
- Python脚本生成sitemap
- redis客户端hiredis
- 将 R 整合到 markdown 中
- C#-WebForm-网页中Form表单中给回车绑定按钮
- Flink-on-yarn