Merged mysql.py usage to main.py under switch dbtocentral