Setup and sync mysql db