Why am I unable to connect to PostgreSQL database when using the DATABASE command in Database Toolbox 3.5.1 (R2009a)?

1 次查看(过去 30 天)
When I try to use the DATABASE command in Database Toolbox 3.5.1 (R2009a), to connect to my PostgreSQL database, I get the following error:
ERROR: Fatal error: Missing or erroneous PG_HBA.CONF file, see server log for details.

采纳的回答

MathWorks Support Team
编辑:MathWorks Support Team 2021-6-17
There is a possiblilty that the above mentioned configuration file is corrupt. Verify that you are able to connect to the database using PSQL.
You may need to consult the PG SQL manual to verify that your pg_hba.conf file contains appropriate entries. Here is the documentation for PostgreSQL 8.1.17:

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Database Toolbox 的更多信息

标签

产品


版本

R2009a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by