-
Notifications
You must be signed in to change notification settings - Fork 977
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
proxysql return "General error: 2057" when the table column changed #965
Comments
Hi @jkklee .
This triggered the error. About mysql-cli and prepared statements: mysql-cli doesn't support real prepared statements. |
Yes , I remember we discussed about this before. And if I did nothing except drop the column which I add to the table, things goes well again |
Indeed we had this discussion before :) Thank you for checking in the error log. If there is nothing in the error log it means that the proxy is not aware that the structure has changed. Thank you. |
The error message I saw in the client I capture tow "pure" tcpdump files (ok.txt and err.txt) just now, If you want to see,I will send you. |
If the dump collects traffic from the client to proxysql and from proxysql to backend: yes please! Thanks |
Yes, it collects traffic from the client to proxysql and from proxysql to backend.
HG 0 is default hostgroup, HG 1 is the select hostgroup. I send you a email attach the tcpdump files. Thank's for your work. |
@renecannao Did you receive my email to [email protected]? |
@renecannao I think the key of this question is Another strange thing is:
but when I run the script second time after I add or drop one column
I think this error should be consider as high priority , and I hope this can make some help attachment is my test php script |
Several prepared statements bug were fixed since this issue was opened (12 months ago). |
My environment:
Everything goes well before today.
Today morning, I add a column to a table, then my app show errors like that:
I tried some effort to analyse this error(include analyse the network traffic), but nothing can explain this error. At last I tried restart my MySQL, Proxysql, and php-fpm. I found only when I restart the Proxysql, this error disappeared.
Another point confuse me is the error message "A stored procedure returning result sets...", there is no stored procedure in my app.
In the other hand, I simulate the same scenario(use proxysql and modify the table's column) with mysql-cli and prepare statment, it's ok;
also the pure php script(no framework) using PDO and prepare statment, it's ok too.
So, what do you think may cause this error? If you need some additional information, I will show you.
The text was updated successfully, but these errors were encountered: