List:MySQL and Perl« Previous MessageNext Message »
From:Rudy Lippan Date:September 15 2003 2:40pm
Subject:RE: FW: Problems with mysql.sock
View as plain text  
On Mon, 15 Sep 2003, michael watson (IAH-C) wrote:

> Ah, I see.  I know I *can* specify the socket at runtime in DBD::mysql,
> but I am using a whole load of someone else code, which doesn't specify
> the mysql socket.... so unless I can get DBD::mysql to work with the
> socket default, i will have to do 1000s of find -> replaces to add the
> extra parameter to the calls to DBI->connect().  And then each time the
> software is updated, do it again.
> 
> So what you seem to be saying is that I need to re-install mysql or do
> the above?
> 

I think what he is saying is that you need to recompile DBD::mysql against
a set of client librares that know which socket path to use.  And you will
probably will want to compile  a static version so that you are not at the
mercy of LD_LIBRARY_PATH and friends for findind the shared object.


Rudy

Thread
FW: Problems with mysql.sockIAH-C)15 Sep
  • Re: FW: Problems with mysql.sockJochen Wiedmann15 Sep
RE: FW: Problems with mysql.sockIAH-C)15 Sep
  • Re: FW: Problems with mysql.sockJochen Wiedmann15 Sep
RE: FW: Problems with mysql.sockIAH-C)15 Sep
  • RE: FW: Problems with mysql.sockUlrich Borchers15 Sep
  • RE: FW: Problems with mysql.sockRudy Lippan15 Sep