On Thu, 14 Aug 2003, Hardy Merrill wrote: > If I'm running DBI/DBD::mysql on a mysql client machine, > and I want to connect to a different mysql server > machine, I must supply the username and password > in the DBI connect. So, that username and password > will be passed from the client machine to the server > machine in cleartext, right? My question is, how can I do > that such that the username and password is NOT > passed over the wire in cleartext - in the connect > statement?
In theory you should be able to use SSL. I have yet to try it, but DBD::mysql does support it if you compile with the -ssl option. perl Makefile.pl --ssl Then you will need to use something like 'dbi:mysql:foo;mysql_ssl=1' as your connect string. Rudy
