+mqtt logging to mysql

+settings in config file