From nobody@FreeBSD.ORG Mon Jul 26 16:51:08 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 50FDF14DA9; Mon, 26 Jul 1999 16:51:08 -0700 (PDT)
Message-Id: <19990726235108.50FDF14DA9@hub.freebsd.org>
Date: Mon, 26 Jul 1999 16:51:08 -0700 (PDT)
From: dave@dogwood.com
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: MySQL client only compile doesn't check thread library
X-Send-Pr-Version: www-1.0

>Number:         12824
>Category:       ports
>Synopsis:       MySQL client only compile doesn't check thread library
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    dirk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 26 17:00:00 PDT 1999
>Closed-Date:    Tue Nov 23 04:07:25 PST 1999
>Last-Modified:  Tue Nov 23 04:08:10 PST 1999
>Originator:     David Cornejo
>Release:        4.0-CURRENT
>Organization:
Dogwood Media
>Environment:
FreeBSD white.dogwood.com 4.0-CURRENT FreeBSD 4.0-CURRENT #0: Thu Jul 22 17:00:55 PDT 1999     dave@white.dogwood.com:/usr/src/sys/compile/WHITE-USB  i386
>Description:
When compling the mysql322-{client|server} the client only
build does not check the thread library used (according to the
MySQL web pages) - this causes the client to be built assuming
that it can default to using Unix domain sockets to communicate with
the server.  The default configuration for building the server uses
mit-threads which disables the servers use of Unix domain sockets.
To work around this the user must specify localhost in commands -
for example "mysql" will not work, you must type "mysql -h localhost"


>How-To-Repeat:
build and install mysql322 client and server and attempt to
access the server by typing "mysql" - you will get:

ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

>Fix:
recombine the builds or modify the build process to check which
thread library is in use for the client only build.


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->dirk 
Responsible-Changed-By: dirk 
Responsible-Changed-When: Tue Jul 27 04:11:12 PDT 1999 
Responsible-Changed-Why:  
I'll handle this. 
State-Changed-From-To: open->closed 
State-Changed-By: dirk 
State-Changed-When: Tue Nov 23 04:07:25 PST 1999 
State-Changed-Why:  
Doesn't apply any longer... 
>Unformatted:
