From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 09:41:16 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 817FA16A4CE for ; Mon, 19 Apr 2004 09:41:16 -0700 (PDT) Received: from sys16.mail.msu.edu (sys16.mail.msu.edu [35.9.75.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1940243D3F for ; Mon, 19 Apr 2004 09:41:14 -0700 (PDT) (envelope-from bushous2@msu.edu) Received: from [198.70.64.112] (helo=msu.edu) by sys16.mail.msu.edu with asmtp (Exim 4.24 #37) (TLSv1:AES256-SHA:256) id 1BFbpY-0000FI-9w; Mon, 19 Apr 2004 12:41:12 -0400 Message-ID: <40840127.5040102@msu.edu> Date: Mon, 19 Apr 2004 12:41:11 -0400 From: Micah Bushouse User-Agent: Mozilla Thunderbird 0.5 (X11/20040411) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Peter Risdon References: <4083FED9.1070605@circlesquared.com> In-Reply-To: <4083FED9.1070605@circlesquared.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus: None found by Clam AV cc: ilich cc: freebsd-questions@freebsd.org Subject: Re: MySQL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 16:41:16 -0000 I think you're actually trying to start the mysql client, which defaults to attempt a connection localhost when no cmd arguments are given. Since mysqld isn't running, the mysql client will complain about the socket. If you're using mysql 4.x (mysql 3.x will be very similar, except the daemon may be named safe_mysqld), try these steps: > whereis mysqld_safe then run as root the resulting path, for example, on my machine I would use > /usr/local/bin/mysqld_safe & that should work! ~Micah Peter Risdon wrote: > ilich wrote: > >> >> >> Hello All! >> I have small problem. >> I installed apache2\php4\mysql. Apache and php work fine, but mysql >> doesn't work. When I enter "mysql" to my console it send massage >> "Can't connect to local MySQL server through socket >> 'tmp/mysql.socket'". As far as I Know mysqld doesn't load to memory, >> but I'm not sure.Please, give me any advices and explain me what does >> mean this massage. > > > > You probably need to start mysql: > > #/usr/local/etc/rc.d/mysql-server.sh start > > PWR > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > >