-
Notifications
You must be signed in to change notification settings - Fork 986
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-enforce_autocommit_on_reads not evaluated for Prepared Statements #899
Comments
|
@krzysztof-ksiazek : thank you for the report. |
Title updated. |
Variable mysql-enforce_autocommit_on_reads wasn't evaluate for prepared statements.
Fixed in 1.3.4 |
Variable mysql-enforce_autocommit_on_reads wasn't evaluate for prepared statements.
Variable mysql-enforce_autocommit_on_reads wasn't evaluate for prepared statements.
wget https://github.com/sysown/proxysql/releases/download/v1.3.3/proxysql_1.3.3-ubuntu14_amd64.deb
One Percona Server 5.7.17.
Configure ProxySQL with this host in two host groups. Configure host groups into mysql_replication_hostgroups
Install tpcc-mysql:
git clone https://github.com/Percona-Lab/tpcc-mysql.git
cd tpcc-mysql/src
make
cd ..
Setup schema/user on MySQL
mysql -utpcc -ptpccpass -h10.0.0.101 tpcc1000 < create_table.sql
mysql -utpcc -ptpccpass -h10.0.0.101 tpcc1000 < add_fkey_idx.sql
./tpcc_load -h 10.0.0.101 -d tpcc1000 -u tpcc -p tpccpass -w 5
./tpcc_start -h 127.0.0.1 -P6033 -u tpcc -p tpccpass -d tpcc1000 -w 5 -c 1 -r 1 -l 60
While tpcc runs, execute:
update mysql_servers set status='OFFLINE_SOFT'; load mysql servers to runtime;
tpcc is stuck with ProxySQL showing:
The text was updated successfully, but these errors were encountered: