Skip to content

Unable to Connect to StarRocks in Version 0.8.5 (Works Fine in 0.8.3) #3843

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

Open
scottxing opened this issue Apr 25, 2025 · 1 comment
Open
Labels
bug db:mysql Related to MySQL db:third-party-compat Concerns a third-party database implementation that advertises support for a well known protocol

Comments

@scottxing
Copy link

I have found these related issues/pull requests

not found

Description

Could you investigate whether there were any changes in the MySQL driver or connection handling logic between versions 0.8.3 and 0.8.5 that might cause this issue? Alternatively, if this is a known issue, guidance on how to resolve it would be appreciated.

Thank you for your time and support!

Reproduction steps

Steps to Reproduce:
1.Use the following connection string or configuration to connect to StarRocks:

let options = MySqlConnectOptions::new()
.host(conf.get("host").unwrap())
.port(conf.get("port").unwrap().parse()?)
.username(conf.get("username").unwrap())
.password(conf.get("password").unwrap())
.timezone(String::from("+08:00"))
.no_engine_substitution(false)
.pipes_as_concat(false);

2.Run the code with sqlx version 0.8.5.
3.Observe that the connection fails.
4.Downgrade to sqlx version 0.8.3 and run the same code.
5.Observe that the connection succeeds.

SQLx version

0.8.5

Enabled SQLx features

"chrono", "mysql", "runtime-tokio", "bigdecimal"

Database server and version

StarRocks3.3.9

Operating system

CentOS7.9

Rust version

rustc 1.85.1 (4eb161250 2025-03-15)

@scottxing scottxing added the bug label Apr 25, 2025
@abonander
Copy link
Collaborator

It would be helpful if you provided the actual error message.

The only significant change to the internals of the MySQL driver since 0.8.3 would be #3812

@abonander abonander added db:mysql Related to MySQL db:third-party-compat Concerns a third-party database implementation that advertises support for a well known protocol labels Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug db:mysql Related to MySQL db:third-party-compat Concerns a third-party database implementation that advertises support for a well known protocol
Projects
None yet
Development

No branches or pull requests

2 participants