ethanak / SimplePgSQL

Simple PostgreSQL connector for Arduino and ESP8266
GNU Lesser General Public License v2.1
49 stars 31 forks source link

Connection problems #9

Open y-schneidereit opened 2 years ago

y-schneidereit commented 2 years ago

Hi there, I would like to use the connector to connect with a PostgreSQL database. The PostgreSQL database is using trust as authorization methode. So in the SetDbLogin I hand over NULL for the const char *passwd argument. But I still can not connect to the database. getMessage() give back Unsupported auth method. The database say canceling authentication due to timeout. The timeout for the authentication on the server is set to one minute. Anyone has an idea, what could be the problem? Thanks for your help! Yannik