supporting the mysql version 5.6