Replies: 2 comments
-
The code in the example is correct. What errors are you seeing? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, what kind of errors you have? How do you format dsn? Does your password contains special symbols like |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Please help or fix not actual information in documentation.
Like here - https://magicstack.github.io/asyncpg/current/usage.html
conn = await asyncpg.connect('postgresql://name:pass@localhost/test')
give me errors
but when i change url to the named parameters like in project README - all will working fine.
conn = await asyncpg.connect(user='name', password='pass', database='test', host='localhost')
I spent about an hour trying to figure out why the basic code doesn’t work(
Beta Was this translation helpful? Give feedback.
All reactions