On Mon, Jun 09, 2003 at 04:14:05PM +0900, Ganbold wrote: > Hi, > > I had a problem running MySQL-4.0.13 with Linuxthreads in FreeBSD 5.0. > Before I compiled mysql-4.0.13 with > WITH_CHARSET=win1251 WITH_OPENSSL=yes WITH_LINUXTHREADS=yes > BUILD_OPTIMIZED=yes options. > It was compiled and installed properly. However when I try to connect to > mysql server it says: > ERROR 2002: Can't connect to local MySQL server through socket > '/tmp/mysql.sock' (2). And /tmp/mysql.sock file was not in place. > > After few days I compiled mysql-4.0.13 from FreeBSD ports collection using: > > BUILD_STATIC=yes WITH_LINUXTHREADS=yes > > options. Now mysql works fine with Linuxthreads. > It seems like dynamic building is not working right away. > > thanks anyway to all who tried to help me,
Hmm. I wonder if the problem really was with with static vs. dynamic or something else? I know that when I first tried to get LinuxThreds working right, I pulled my hair out trying combinations of things I found in various web searches. Finally, I just copied the Makefile from the MySQL port and used that as the basis for my own. That made all the difference. I don't know which of the options did it (and part of me doesn't care), but after that it was pretty easy going. It's good to hear this still works in FreeBSD 5.x. Thanks for the update. Jeremy -- Jeremy D. Zawodny | Perl, Web, MySQL, Linux Magazine, Yahoo! <[EMAIL PROTECTED]> | http://jeremy.zawodny.com/ MySQL 4.0.13: up 6 days, processed 182,443,458 queries (349/sec. avg) -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]