nhdlb

sql文件导入

psql -d jdbc -h localhost -p 5432 -U postgres -f /home/sql/test.sql

#-d 数据库名称
#-h ip地址
#-p 端口号
#-U 用户
#-f sql文件路径

sql文件导出

 

pg_dump -h localhost -p 5432 -U postgres -f /home/sql/test.sql jdbc

#-h 数据库名称
#-p 端口号
#-U 用户
#-f 保存路径
#jdbc  数据库名称

 

分类:

技术点:

相关文章:

  • 2022-02-12
  • 2021-12-10
  • 2021-12-16
  • 2021-09-11
  • 2022-02-03
猜你喜欢
  • 2022-01-15
  • 2021-12-13
  • 2021-07-13
  • 2022-01-13
  • 2021-11-19
  • 2021-12-22
  • 2021-12-15
相关资源
相似解决方案