Fix mysql and qserv connection tools

Updated mysql and qserv connection scripts for better formatting