support both mysql 5.5 & 5.6