You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to connect to a starrocks instance using sqlx. Reading their docs, they mention that most of the MySQL clients available should be able to connect with it. But, the problem I'm facing is that sqlx can't connect using the MySQL connector of the mysql feature.
One thing that I have in mind is that it seems starrocks doesn't support prepared statements (even thought they mention they support it from v3.2 here and I'm using 3.2.4). And the error I get is:
Error: Database(MySqlDatabaseError { code: Some("HY000"), number: 1064, message: "Getting analyzing error. Detail message: Set statement only support constant expr.." })
As you can see in the issue #3205 I opened, I tried setting statement_cache_capacity to 0 as the sqlx docs mention that it should directly disable it... Has anyone succeeded on connecting with this DB?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi!
I'm trying to connect to a starrocks instance using
sqlx
. Reading their docs, they mention that most of the MySQL clients available should be able to connect with it. But, the problem I'm facing is thatsqlx
can't connect using theMySQL
connector of themysql
feature.One thing that I have in mind is that it seems starrocks doesn't support prepared statements (even thought they mention they support it from v3.2 here and I'm using 3.2.4). And the error I get is:
Error: Database(MySqlDatabaseError { code: Some("HY000"), number: 1064, message: "Getting analyzing error. Detail message: Set statement only support constant expr.." })
As you can see in the issue #3205 I opened, I tried setting
statement_cache_capacity
to0
as thesqlx
docs mention that it should directly disable it... Has anyone succeeded on connecting with this DB?Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions