Put SQL update directly in PHP update code instead of SQL file
Update only if driver is Mysql