did you restart the VS? and best to use the rc.vsd entry from Ben's faq page
http://www.fubra.com/vsdfaq/ as if put in the skel it does the setup for you
also add a mysql user to the VS otherwise vsboot will complain on restart
and give ownership of the mysql files to user mysql
if the mysql server hasn't been started you won't have a mysql.sock file -
you can start the mysql server by hand (but not a long term fix)
cd /usr/share/mysql
./mysql.server start
Gary
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 23, 2001 9:02 AM
Subject: PLEASE HELP: Can't connect to local MySQL
> hello, what is the way to make MYSQL work on virtual server?
> i have a work environment: phpmysql.skel and freevsd1.4.8
>
> on a fresh 6.2 server installation there is no mysql included, so i
install
> on host :
> MySQL-3.22.32-1.i386.rpm & MySQL-client-3.22.32-1.i386.rpm
>
> like information in faq i did the following:
> on virtual server:
> run: mysql_install_db
>
> 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
>
> BUT THEN: when i type mysql on virtual server root, i get:
> Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (111)
>
>
>
>