about MySQL

Gerard gerard at seibercom.net
Wed Mar 21 16:54:03 UTC 2007


On Wednesday March 21, 2007 at 09:27:06 (AM) Frank wrote:


> hi this is Frank,
> after i finish MySQL.  how should i know it's work or not? then how
> should i install php and apache? last question is how you learned
> FreeBSD?

Add the following to your '/etc/rc.conf' file:

    mysql_enable="YES"

Then either reboot the system, or enter (as root):

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

You will know momentarily if it work or not. You really should read up
on MySQL. You will probably need to assign users and passwords, etc.

Use the ports system to install both Apache and PHP. Install Apache
first. That will allow PHP to enter its information into the httpd.conf
file automatically.

You can start learning FreeBSD by read the material available here:

    http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

Just my 2¢.

-- 
Gerard



More information about the freebsd-questions mailing list