More changes to use MySql and SSL