Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 11:46:00 -0500
From:      "Andrew L. Gould" <algould@datawok.com>
To:        freebsd-questions@freebsd.org
Cc:        ilich <shmil@onego.ru>
Subject:   Re: MySQL
Message-ID:  <200404191146.00222.algould@datawok.com>
In-Reply-To: <opr6hhnifjkmugx5@mail.onego.ru>
References:  <opr6hhnifjkmugx5@mail.onego.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404191146.00222.algould>