Updated database to mysql2