PyCharm DB Navigator:如何修复“没有这样的文件或目录”

问题描述 投票:0回答:1

我正在使用DB Navigator插件运行PyCharm Community 2018.3。我已建立连接并对其进行测试。当我执行SQL脚本时

SELECT *
FROM table;

数据库执行控制台回复:

Creating temporary script file /tmp/DBN-4213556526222248783.sql
Executing command: /usr/bin/psql --echo-all --host=hostname.amazonaws.com --port=5432 --dbname=foo --username=bar -f "/tmp/DBN-4213556526222248783.sql"
Mar 9, 2019 11:24:44 AM: CIQ / CIQ - Script execution started
"/tmp/DBN-4213556526222248783.sql": No such file or directory

/ tmp / DBN-文件存在且是世界可读的。 / usr / bin / psql存在。我可以将相同的“执行命令”行剪切并粘贴到shell中,并使用它从数据库中获取响应。

intellij-idea pycharm psql intellij-plugin
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.