From owner-freebsd-questions@FreeBSD.ORG Mon Apr 19 09:45:56 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 BF88916A4CE for ; Mon, 19 Apr 2004 09:45:56 -0700 (PDT) Received: from starling.mail.pas.earthlink.net (starling.mail.pas.earthlink.net [207.217.120.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB2E343D60 for ; Mon, 19 Apr 2004 09:45:56 -0700 (PDT) (envelope-from algould@datawok.com) Received: from 20-74.lctv-b4.cablelynx.com ([24.204.20.74] helo=[192.168.63.10]) by starling.mail.pas.earthlink.net with asmtp (TLSv1:RC4-MD5:128) (Exim 3.36 #4) id 1BFbu8-0003XG-00; Mon, 19 Apr 2004 09:45:56 -0700 From: "Andrew L. Gould" To: freebsd-questions@freebsd.org Date: Mon, 19 Apr 2004 11:46:00 -0500 User-Agent: KMail/1.6.1 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <200404191146.00222.algould@datawok.com> X-ELNK-Trace: ee791d459e3d6817d780f4a490ca69564776905774d2ac4b3d449ce58343dc73c6f2f81a92289395350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c cc: ilich 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:45:56 -0000 On Thursday 15 April 2004 01:00 am, 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. > Thanks, Ivan After installation, did you: 1. execute: /usr/local/bin/mysql_install_db 2. execute: /usr/local/etc/rc.d/mysql-server.sh start Once you get the administrative tables setup and server started, you will still have to invoke the mysql client correctly. Please see the mysql man page and the online documentation: http://dev.mysql.com/doc/mysql/en/index.html Best of luck, Andrew Gould