1、找到postgresSql安装路径
2、E:\Program Files\PostgreSQL\9.5\bin
(考入要执行的sql文件)
postgresql 导入sql
3、运行cmd
4、输入执行 psql -U username -W -d dbname -f xx.sql
例如:psql -U 用户名 -W -d 数据库名 -f xx.sql

相关文章:

  • 2021-12-12
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2018-10-15
猜你喜欢
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
  • 2022-01-01
相关资源
相似解决方案