Subject: | set_db() and connection() don't support 'host' and 'port' attributes for remote databases |
If remote DSN's are supported, it's undocumented and not evident how to make this work.
I've tried searching the source for support of 'host' and 'port' attributes but they aren't present.
I've tried invoking:
__PACKAGE__->set_db('Main', 'dbi:mysql:mydatabase;host=192.168.1.8;port=3306', 'user', 'password');
but this doesn't seem to be supported either.
Since it's the DBD that handles remote connections, all of the work (for Class::DBI) just involves passing the host and port parameters through, doesn't it?