Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 12:40:58 -0700
From:      Glenn Dawson <glenn@antimatter.net>
To:        eoghan <freebsd@redry.net>, freebsd-hackers@freebsd.org
Subject:   Re: mysql port install
Message-ID:  <6.2.3.4.2.20050926123752.0352ad60@cobalt.antimatter.net>
In-Reply-To: <A9542760-015D-431A-9CD5-315BA5D60B7C@redry.net>
References:  <A9542760-015D-431A-9CD5-315BA5D60B7C@redry.net>

next in thread | previous in thread | raw e-mail | index | archive | help
At 10:05 AM 9/26/2005, eoghan wrote:
>Hello
>Im having a problem getting mysql (version 4.1.14) to work. Im
>installing from ports, which was updated today. Each time i try #>mysql
>is get: ERROR 2002 (HY000): Can't connect to local MySQL server
>through socket '/tmp/mysql.sock' (2)
>mysql.sock isnt in /tmp/ which is a problem. The manual and searches
>say that this means the server usually isnt running, so type mysqld
>to start it. But i just get command not found. The only reference to
>mysqld is in /usr/local/man/man1/mysql.1.gz
>I was wondering if someone had any luck getting this port installed?
>Im using freeBSD 5.3 by the way.

Make sure you have mysqld_enable"YES" in your /etc/rc.conf and then use
/usr/local/etc/rc.d/mysql-server.sh start
to start the server. (you may nee to copy mysql-server.sh from 
mysql-server.sh.sample first)

-Glenn

>Thanks
>Eoghan
>_______________________________________________
>freebsd-hackers@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"




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