Fix MySQL for older (RDS) versions