added suport for mysql 5.5