Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3780

Escaped PostgreSQL database password

$
0
0

We are getting a connection error when we connect to a PostgreSQL database with a password that contains a ’ character.

With no escaping:
missing "=" after "'" in connection info string

If we escape the ’ into ‘’, like we do for other normal strings in the database, we get
missing "=" after "''" in connection info string

Escaping ' with \' gives
FATAL: password authentication failed for user “passwordtest”

We’re using the built in PostgreSQL class. Xojo 2024r2.1

Is there a way around this?

Regards,

Lee

3 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 3780

Trending Articles