From owner-freebsd-ports Mon Jul 26 17: 0: 4 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 4438B15117 for ; Mon, 26 Jul 1999 17:00:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA45993; Mon, 26 Jul 1999 17:00:01 -0700 (PDT) (envelope-from gnats@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 To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: ports/12824: MySQL client only compile doesn't check thread library Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 12824 >Category: ports >Synopsis: MySQL client only compile doesn't check thread library >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jul 26 17:00:00 PDT 1999 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message