Date: Mon, 26 Jul 1999 16:51:08 -0700 (PDT) From: dave@dogwood.com To: freebsd-gnats-submit@freebsd.org Subject: ports/12824: MySQL client only compile doesn't check thread library Message-ID: <19990726235108.50FDF14DA9@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990726235108.50FDF14DA9>