Use TCP to connect to local mysql to avoid issues with unix socket locations differences