I think the MYSQL service is not running on your system, Just execute the
below commands

service mysqld restart

I think this might solve your problem

Regards
Mazhar

On 12/4/05, John Doe <[EMAIL PROTECTED]> wrote:
>
> Octavian Rasnita am Samstag, 3. Dezember 2005 19.50:
> > Hi,
> >
> > I have tried to install DBD::mysql under Linux manually and also using
> > cpan, but the "make test" command gives the error saying that it can't
> > connect to the server using the socket /var/lib/mysql/mysql.sock.
> >
> > I know that MySQL is not using that socket but /tmp/mysql.sock, but I
> don't
> > know how to let DBD::mysql know that.
> >
> > I have set the --testuser, --testpassword, --testdb, and even the port
> and
> > the host, but it still tries to use /var/lib/mysql/mysql.sock socket.
> >
> > Now I have changed the socket in my.cnf and I was able to install
> > DBD::mysql, but isn't possible to specify another socket than that
> default
> > one chosen by DBD::mysql?
>
> Surely you consulted the manual page of DBD::mysql, searched for
> 'mysql-socket' and tried something.
>
> What was the problem then?
>
> joe
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> <http://learn.perl.org/> <http://learn.perl.org/first-response>
>
>
>

Reply via email to