From owner-freebsd-chat Sun Jul 25 7:53:20 1999 Delivered-To: freebsd-chat@freebsd.org Received: from hermit.bcs.nostrum.com (hermit.bcs.nostrum.com [206.28.8.2]) by hub.freebsd.org (Postfix) with ESMTP id 9DBFD1516E; Sun, 25 Jul 1999 07:53:15 -0700 (PDT) (envelope-from daved@nostrum.com) Received: (from daved@localhost) by hermit.bcs.nostrum.com (8.9.3/8.9.3) id JAA54028; Sun, 25 Jul 1999 09:52:24 -0500 (CDT) Date: Sun, 25 Jul 1999 09:52:23 -0500 From: Dave Duchscher To: Gianmarco Giovannelli Cc: ports@FreeBSD.ORG, dirk@FreeBSD.ORG, chat@FreeBSD.ORG Subject: Re: Is there a mysql user that want to save a FreeBSD box ? Message-ID: <19990725095223.A53952@hermit.bcs.nostrum.com> References: <379ACD46.69BB36E4@giovannelli.it> Mime-Version: 1.0 Content-Type: multipart/signed; boundary=cWoXeonUoKmBZSoM; micalg=pgp-md5; protocol="application/pgp-signature" X-Mailer: Mutt 0.95.5i In-Reply-To: <379ACD46.69BB36E4@giovannelli.it>; from Gianmarco Giovannelli on Sun, Jul 25, 1999 at 10:39:34AM +0200 Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii > Sorry for crossposting in ports, chat ad to mantainer itself... but > all my previous email on this topic were not answered, but I really > need a quick , very quick answer... Then you should probably read the supplied docs. From the online manual: http://www.tcx.se/Manual_chapter/manual_Installing.html#FreeBSD http://www.tcx.se/Manual_chapter/manual_Installing.html#MIT-pthreads * MIT-pthreads doesn't support the `AF_UNIX' protocol used to implement Unix sockets. This means that if you compile using MIT-pthreads, all connections must be made using TCP/IP (which is a little slower). If you find after building *MySQL* that you cannot connect to the local server, it may be that your client is attempting to connect to `localhost' using a Unix socket as the default. Try making a TCP/IP connection with `mysql' by using a host option (`-h' or `--host') to specify the local host name explicitly. The default on FreeBSD is to compile MySQL with MIT-pthreads. When using the port, there is an option to use native threads which I believe does not have this limitation. Here is the message that is printed when you make the port: You may set NATIVE_THREADS (make NATIVE_THREADS=yes) to compile mysql with the native FreeBSD threads (libc_r). Warning: There are still some bugs in libc_r which prevent 'mysqladmin shutdown' from working properly and killing mysqld might not work. DaveD --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 5.0i for non-commercial use MessageID: kSwspWwCu7QMad+dmOhYanNQmghA+212 iQCVAwUBN5sWk/sJYFdBGj/VAQFe7gQAn/FJtt1jaxtOMfPjlNT0nZYXdWuVyczm KVP5T8TQ2QEngrWu7D9cY43/NlhPnt8I+aOYjQ9jxzBkwY3pi+HqYKhK5XY43Xen vqzOexa/s9yGQUqzo+hbAaQosf3DDnQ5W+/y8xPBy2AoD6+QG2no7HnMiGktYrNm OJjfxNhOZcg= =ApCm -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message