[phpMyAdmin Developers] Default host name with different connect types

Isaac Bennetch bennetch at gmail.com
Wed Feb 1 23:10:14 CET 2017

When a user does not define `$cfg['Servers'][$i]['host']` but does set
`$cfg['Servers'][$i]['connect_type']  = 'tcp';`, the default host of
'localhost' is used, forcing the connection over socket because of how
MySQL interprets the host.

Would it be helpful to detect when the user specifies 'tcp' and use a
default host of '' instead of 'localhost', or is that getting to
be too much guessing about what the user wants?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.phpmyadmin.net/pipermail/developers/attachments/20170201/3bb6ed51/attachment.html>

More information about the Developers mailing list