mysql troubles

Jeff Wirth jeff.wirth at gmail.com
Mon Mar 14 20:50:52 PST 2005


On Mon, 14 Mar 2005 12:52:59 -0600, Dennis Olvany
<dennisolvany at 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


More information about the freebsd-questions mailing list