I presume you've run mysql_install_db

now edit /etc/rc.conf and add the line:

mysql_enable="YES"

edit /etc/rc.vsd and add:

   # Start MySQL server
   if [ "${mysql_enable}" = "YES" ]; then
     if [ -d "/var/lib/mysql" ]; then
       echo -n 'starting mysql server: '
       /usr/bin/safe_mysqld --bind-address=`hostname` & >/dev/null 2>&1
       echo 'mysql'
     fi
   fi

the second file (iirc) is owned root...

then just rebootvs, and that should be it.

One question I have, is why (maybe it's just me) I cannot connect to mysql
from php when using this ready build skel...

Thoughts/solutions appreciated.

Rgds

Ben

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Ben Kennish
Sent: 10 April 2001 19:17
To: [EMAIL PROTECTED]
Subject: How to start MySQL in pre-built skel?


Any quick notes rather than telling me to read the documentations? Thank
you.


Reply via email to