MySQL 4.x compatibility