Archive for December 8th, 2010
When running mysql client to connect to a database on the local machine using tcp by specifying –port and optionally –host=localhost the client will still use socket connection under unix.
This could potentially be “critical” issue if the host runs multiple instances and the user connects to the wrong instance, as they won’t know this has happened and hence could delete or modify vital information.
For more information see the mysql bug:
MySQL Bug: mysql client connects via socket even when –port and –host is specified