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)