Thursday, December 14, 2006

Set up mysql 5.0.24 in slackware 11

It is a bit awkward to set mysql up in slackware, unlike redhat or other distributions does the whole work for you, slackware needs couple more steps. Here is how I set it up

$su -
$chown -R mysql:mysql /var/lib/mysql
$chmod +x /etc/rc.d/rc.mysqld
$/etc/rc.d/rc.mysqld start

Then on another terminal, login with user belong to user group or root


No comments: