List:MySQL and Perl« Previous MessageNext Message »
From:Jochen Wiedmann Date:March 20 2003 7:04am
Subject:Re: Cannot access MySQL from Perl after Upgrading to 4.0 (On Linux)
View as plain text  
Zitiere Hal Vaughan <hal@stripped>:

> DBI connect('database=lopas','hal',...) failed: Can't connect to local
> MySQL 
> server through socket '/var/lib/mysql/mysql.sock' (2) at test.pl line
> 11
> Can't connect

Recompile the driver with the new client libraries. The
new path of the mysql.sock file will be inherited automatically.

Alternatively, use the DSN option mysql_socket.


Jochen
Thread
Cannot access MySQL from Perl after Upgrading to 4.0 (On Linux)Hal Vaughan19 Mar
  • Re: Cannot access MySQL from Perl after Upgrading to 4.0 (On Linux)Greg Meckes19 Mar
    • Re: Cannot access MySQL from Perl after Upgrading to 4.0 (On Linux)Christian Hammers19 Mar
      • Re: Cannot access MySQL from Perl after Upgrading to 4.0 (On Linux)Hal Vaughan19 Mar
  • Re: Cannot access MySQL from Perl after Upgrading to 4.0 (On Linux)Jochen Wiedmann20 Mar