awbush/MySQL-PHP-AutoMigrations — Issue #5: Allow custom sock path for the port arg
Author: awbush
Created: 2011-10-18 18:18:13+00:00
State: open

When entering "localhost" for the hostname, one should be able to give a custom socket path when asked for port. It currently requires that an integer is given.

Impact: there's no way to connect to different local DB instances when they are all using sockets, as in the example:

/var/lib/mysql-instance1/mysql.sock
/var/lib/mysql-instance2/mysql.sock
/var/lib/mysql-instance3/mysql.sock

You can symlink them to the default sock path, but that only allows usage of one DB instance at a time.