installing MySQL in slackware

su mysql
mysql_install_db (run as mysql for best results)
mysqld_safe –user=mysql&
mysql -u root -p
mysqladmin -u root password ‘dieagain’
cd /etc/rc.d
You’ll find a file called rc.mysqld. Make it executable by chmod 755 rc.mysqld
Edit rc.M and include the following block:
if [ -x /etc/rc.d/rc.mysqld ]; then
. /etc/rc.d/rc.mysqld
fi
Now, you’re done.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.