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

1 view (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 17 Jun 2021
Edited: MathWorks Support Team on 17 Jun 2021
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:

More Answers (0)

Tags

Products


Release

R2009a

Community Treasure Hunt

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

Start Hunting!