Octavian Rasnita am Montag, 5. Dezember 2005 10.05: [...] > Oh yes MySQL was running when I have tried to install DBD::mysql. > I was able to connect to it using "mysql" command. > But it was using /tmp/mysql.sock socket defined in my.cnf. > > However, the "make test" command told that it cannot connect to MySQL using > /var/lib/mysql/mysql.sock socket. > > I don't know how I can change the location of the socket used by DBD::mysql > tests. Isn't taken from my.cnf?
You may have a too old version of mysql / DBD::mysql, but it's just a guess since you didn't provide version information. Otherwise, you may have noticed the following sentence in the manual of DBD::mysql you *certainly* read as an active member of this list: " CLASS METHODS ... mysql_socket As of MySQL 3.21.15, it is possible to choose the Unix socket that is used for connecting to the server. This is done, for example, with mysql_socket=/dev/mysql ... " hth joe -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>