Minor connection adjustments for edge cases; connecting to "localhost" exactly triggers magical behavior.

Dissuade mysqli from behaving magically (technically, this is the underlying C API's fault).

Auditors: btrahan