[BUGFIX] Using a mysql socket specifier instead of a hostname didn't work properly

Mysql Credentials get used at 4 places in the extension. This patch unifies generating the mysql-tool credential string (--user=, --password=, etc.) and fixes the method to properly handle the case where typo_db_host is a socket specifier (i.e. :/var/run/mysqld/mysqld.sock)