Skip to content
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

MySQL ERROR 1615 (HY000): Prepared statement needs to be re-prepared #701

Open
punx120 opened this issue Oct 29, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@punx120
Copy link

punx120 commented Oct 29, 2024

What language are you using?

Python

What version are you using?

0.3.3

What database are you using?

MySQL (10.3.36-MariaDB)

Example query / code

The following code fails to run:

import connectorx as cx
MYSQL_CONN_URL = 'mysql://.../db'
print(cx.read_sql(MYSQL_CONN_URL, 'select * from VIEW'))

Output is:

Traceback (most recent call last):
    result = _read_sql(
RuntimeError: MySqlError { ERROR 1615 (HY000): Prepared statement needs to be re-prepared }

It works if i use the 'text' protocol. Is there a workaround?

Thank you

@punx120 punx120 added the bug Something isn't working label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant