I get this error msg  after the following statement:
 $dbh = DBI->connect("$data_source", "$username", "$password", { RaiseError
=> 1, PrintError => 1, AutoCommit => 1 });

$username and $password are set  and
$datasource = "DBI:mysql:$db:$dbhost:dbport";
where $db, $dbhost and $dbport are set as well.

I am not sure if the error msg refers to unix sockets. If it does then that
is what I am trying to get around. My environment is cygwin/Win95 which does
not support sockets. Using "mysql -h" from a command line makes a
successful connection to the  remote host. I also read that libmysqlclient
will read /etc/my.cnf so I entered the same
host/database/port/username/password settings under the client block but got
the same error.
Is there a way to compile the mysql client so it will not default to unix
sockets, if that is  the problem?

thanks for any replies,
dale

Reply via email to