You are here
MySQL Total Record count issue
Tue, 2014-06-03 10:34 — kalasha
Hi Team,
I am using MySQL 5.6 in production server (hosted at AWS). After inserting records online its commited in database, but while executing select count(*) from table_name i am getting the latest count.
After exiting from mysql and again login i am able to view the latest count.
Transaction isolation in mysql is repeatable-read (both in global and status variables)
Kindly help to fix this issue
wrong number of rows
MYSQL TOTAL RECORD COUNT ISSUE
COMMIT!
Kalasha,
Since autocommit is disabled, did you issue "COMMIT" after inserting those records ?
If not, then you have to either enable autocommit or commit your DML statements manually (issue "COMMIT" or execute DDL statement)