From: Rudy Lippan Date: September 15 2003 2:40pm Subject: RE: FW: Problems with mysql.sock List-Archive: http://lists.mysql.com/perl/2389 Message-Id: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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