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
we have run proxysql1.4.7 on product for two weeks, and everything works ok.
today, programmer reported that they got this error "Commands out of sync; you can't run this command now", and the only thing they do is adding a comment after each query. but when they remove the comment, no error happened.
i have read the issue #1074 and updated my proxysql version to v1.4.9, but still got this error.
the odd thing is that not all queries get this error, it happens now and then. and i don't know how to reproduce this problem. i think there is capability problem of comment in proxysql. i don't now how to work it out. please help!
comment using /* .................*/, example as below:
INSERT INTO `table1` (`user_id`, `click_num`, `last_update_time`) SELECT from_user_id, '1', '1528873704' FROM table2 WHERE seid='7jj6OO9MQG8I2lU2p1n97SQbMG' ON DUPLICATE KEY UPDATE `click_num`=`click_num`+1, `last_update_time`='1528873704', `is_read`='0' /* .................*/
$ proxysql --version
ProxySQL version 1.4.9-3-gd9fd599, codename Truls
Hi @emmaaaaa , I modified your initial comment for better readability.
If your issue is related to #1074 , you should change mysql-client_multi_statement from true to false
we have run proxysql1.4.7 on product for two weeks, and everything works ok.
today, programmer reported that they got this error "Commands out of sync; you can't run this command now", and the only thing they do is adding a comment after each query. but when they remove the comment, no error happened.
i have read the issue #1074 and updated my proxysql version to v1.4.9, but still got this error.
the odd thing is that not all queries get this error, it happens now and then. and i don't know how to reproduce this problem. i think there is capability problem of comment in proxysql. i don't now how to work it out. please help!
comment using
/* .................*/
, example as below:The text was updated successfully, but these errors were encountered: