Can't make an async connection to PostgreSQL DB

I'm making a little TCP server which must get JSONs and write it into database. I tried to use PostgreSQL and make a connection to it by URL: postgresql+asyncpg://postgres:postgres@localhost:5432/db. But DBeaver rised an error, because it isn't support async anymore. Now its only JDBC drivers that are only for synchronized connections. How can I use DB's with async? Maybe not with DBeaver.

I tried to create DB with connection by the URL I mentioned. And I expected to have connection. But DBeaver lost connection at first click on DB.

Upvotes: -2

Views: 41

Answers (0)

Related Questions