Squirrel SQL 给出:致命:数据库 "localhost:5432:postgres" 不存在
Squirrel SQL gives: FATAL: database "localhost:5432:postgres" does not exist
我想使用 Squirrel SQL,因为它似乎是 pgAdmin 的一个很好的替代品,但我没有成功连接到数据库 postgresSQL,分别是 MariaDB。我得到的错误是:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.postgresql.util.PSQLException: FATAL: database "localhost:5432:postgres" does not exist
我有以下环境:Windows7、postgreSQL9.6、MariaDB 10.2。我可以分别用终端或 pgAdmin 连接两个数据库,HeidiSQL。所以,我认为我在尝试使用 Squirrel SQL.
连接到数据库时做了一些根本性的错误
以下是我执行的详细步骤:
(1) 驱动程序在 C:\Program2\db_drivers 中,数据库也安装在目录 \Program2 中:
(2) 我可以注册驱动程序:
(3) 然后我试着做一个别名:
(4) ... 但出现此错误:
作为documented in the manual,URL应该是:
jdbc:postgresql://localhost:5432/postgres
我想使用 Squirrel SQL,因为它似乎是 pgAdmin 的一个很好的替代品,但我没有成功连接到数据库 postgresSQL,分别是 MariaDB。我得到的错误是:
java.util.concurrent.ExecutionException: java.lang.RuntimeException: org.postgresql.util.PSQLException: FATAL: database "localhost:5432:postgres" does not exist
我有以下环境:Windows7、postgreSQL9.6、MariaDB 10.2。我可以分别用终端或 pgAdmin 连接两个数据库,HeidiSQL。所以,我认为我在尝试使用 Squirrel SQL.
连接到数据库时做了一些根本性的错误以下是我执行的详细步骤:
(1) 驱动程序在 C:\Program2\db_drivers 中,数据库也安装在目录 \Program2 中:
(2) 我可以注册驱动程序:
(3) 然后我试着做一个别名:
(4) ... 但出现此错误:
作为documented in the manual,URL应该是:
jdbc:postgresql://localhost:5432/postgres