-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid ipv6 host #1739
Comments
My question is: is this a |
I'm pretty sure this is a SQLx bug. The The url crate explicitly documents that the |
So the fix here would be to just trim |
Hi @abonander, I would like to work on this issue if not already been taken. Also, I am new to this organization so can you please share more details regarding the issue. Thanks! |
sqlx
try to use this host to connect atsqlx/sqlx-core/src/mysql/connection/stream.rs
Line 46 in dfd9cf5
but
[::1]
is a invalid address fortokio::net::TcpStream::connect
, which expect a address like::1
without a[]
so, we will get an error
failed to lookup address information: Name or service not known
The text was updated successfully, but these errors were encountered: