-
I am connecting to postgres hosted on azure . Azure postgres requires the username to be specfied in username@hostname format. If I set the username like this, I get an error while starting the app.
com.inversoft.maintenance.db.JDBCMaintenanceModeDatabaseService - Exception caught executing [CREATE ROLE xxxxx@hostame WITH LOGIN PASSWORD xxxxxxxx] org.postgresql.util.PSQLException: ERROR: syntax error at or near "@" Position: 23Any method to fix this?
-
Hi @amith-kumar-shetty !
This is a known limitation of FusionAuth. More details here: https://github.com/FusionAuth/fusionauth-issues/issues/1036
Please upvote that issue if you'd like to see this fixed.
-
@dan Thank you. I had to manually run the CREATE ROLE “postgresql@hostxxxx” LOGIN PASSWORD 'yyyyyyyyyy' on my database instance before starting the app. Then everything works ok. Note the double quotes around the username
-
@amith-kumar-shetty Excellent, glad you got it working!
-
D dan moved this topic from Q&A on
-
D dan moved this topic from Frequently Asked Questions (FAQ) on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login