Adjust sql connections for local access

Can't seem to talk to mysql on a public interface. I'm sure that
is a bug