Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2005 14:55:31 -0500
From:      Jeff Wirth <jeff.wirth@gmail.com>
To:        Dennis Olvany <dennisolvany@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mysql troubles
Message-ID:  <5d2cf6920503141155f3882c1@mail.gmail.com>
In-Reply-To: <000e01c528c7$0bd1f800$0366a8c0@d>
References:  <000601c52897$ef578430$0366a8c0@d> <5d2cf69205031408365a68e181@mail.gmail.com> <000e01c528c7$0bd1f800$0366a8c0@d>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 14 Mar 2005 12:52:59 -0600, Dennis Olvany
<dennisolvany@gmail.com> wrote:
>  
> mysql via ports 

If that's the case everything should to be good to go after the port
is install.  With the exception of creating the root password (and of
course creating your own dbs).

On your original post you listed some stuff that looked like the
standard mysql install steps, which since you used the ports most of
that is done for you..

>> error: 'Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2)'
>> Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

verify the following in /etc/rc.conf:

     mysql_enable = "YES" 

start mysql:

     # /usr/local/etc/rc.d/mysql-server.sh start

-jw



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