postgresql导入sql脚本

首先进入到postgresql的bin安装目录下 好比D:\software\postgresql\bin 把xx.sql文件放到这个目录下 打开cmd命令窗口 跳转到postgresql的bin目录 cd /d D:\software\postgresql\bin 而后输入下面的命令, username是数据库访问的用户名或者说是角色名好比postgres, dbname 就是数据库的名字,最好
相关文章
相关标签/搜索