
[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] DBI::Proxy and mv/ic
Re DBI::Proxy and mv/ic
I've been able to use minivend with DBI::Proxy.
It required this in the environment before starting:
export DBI_AUTOPROXY="hostname=my_db_host;port=3333"
And the following changes to catalog.cfg for catalog 'foo'
Database products products dbi:mysql:foo:
#Database products products dbi:mysql:foo:my_db_host:3306
#Database products USER minivend
This assumes that dbiproxy is running on my_db_host as user 'minivend'
and listening on port 3333.
Rather than a network connection to mysql server on my_db_host, we now
use a network connection to dbiproxy on my_db_host. dbiproxy then makes
a 'localhost' connection with UNIX socket to 'foo' db, hence the change
in dsn, dropping 'my_db_host:3306'.
Presumably, s/minivend/interchange/g;
cfm
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Content/site management, online commerce, internet integration, Debian linux
_______________________________________________
interchange-users mailing list
interchange-users@interchange.redhat.com
http://interchange.redhat.com/mailman/listinfo/interchange-users