The proper way to use MySQL instead of SQLlite