migrated from sql3 to mysql