【发布时间】:2016-10-15 04:05:09
【问题描述】:
在 phppgadmin 中导入 .sql 文件时会产生错误
“导入错误:无法自动确定文件格式”。
如何导入文件?
在终端显示为
postgres-# \i Documents/sample.sql
Documents/sample.sql: No such file or directory
但文件存在于特定位置。如何在 Postgresql 和 Phppgadmin 中导入 .sql 文件
【问题讨论】:
-
支持.sql文件
-
您的相对路径可能不适用于当前目录。
\i确实使用 SQL 脚本。尝试提供文件的完整路径。
标签: postgresql phppgadmin