mysql port install
Glenn Dawson
glenn at antimatter.net
Mon Sep 26 12:42:33 PDT 2005
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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
>To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
More information about the freebsd-hackers
mailing list