[add] https support and mysql setup