SQLite3 -> MySQL conversion