consistency in MYSQL database file