You answered your own question - the sock file is in a different location,
the simplest thing to do is alter that connect statement in the script and
pass in the location of your sock.. Something like

It probably looks something like
DBI:mysql:database=bugs:host=localhost

Change it to

DBI:mysql:database=bugs:host=localhost:mysql_socket=/usr/local/data/mysql.so
ck

And it should work.

Good luck
-Chris

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 29, 2004 9:57 AM
Subject: Problems using MySQL with Bugzilla


> Hi,
>
> i have a problem using MySQL (4.0.18) (together) with the current Bugzilla
release.
> I think, that during installation of modules some configuration went wrong
> resulting in the error i now have to deal with:
>
> Output of Bugzillas checksetup.pl:
> ...
> Precompiling templates ...
> DBI connect(';localhost;3306','bugs',...) failed: Can't connect to local
MySQL server through socket '/tmp/mysql.sock' (2) at ./checksetup.pl line
1189
> [Thu Apr 29 15:39:47 2004] checksetup.pl: DBI
connect(';localhost;3306','bugs',...) failed: Can't connect to local MySQL
server through socket '/tmp/mysql.sock' (2) at ./checksetup.pl line 1189
> <h1>Software error:</h1>
> ...
>
> In fact the MySQL installation i use is in /usr/local with the databases
in /usr/local/data.
> The file mysql.sock is also in /usr/local/data.
>
> What do i have to do, to get it running.
>
> Thanks in advance
> Ronald Nikel
> _____________________________________
>
> Dipl.-Inform. Ronald Nikel
> -System Development/Systementwicklung-
> Heusch/Boesefeldt GmbH
> Tempelhofer Str. 4-6
> D-52068 Aachen
> Tel: +49(0)241-9669-148
> GSM: +49(0)177-7769536
> Fax: +49(0)241-9669-177
> WWW: http://www.heusch-boesefeldt.de
> mailto:[EMAIL PROTECTED]
>

Reply via email to