Multiplay Labs

tech hits and tips from Multiplay

Serious mysql client bug when handling –port

without comments

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

Written by Dilbert

December 8th, 2010 at 11:23 am

Posted in MySQL

Leave a Reply

You must be logged in to post a comment.