Go Smart with REAR (pRay, rEad, leArn, tRy)

10/04/2013

MySql CONFIGURATION ON SLACKWARE

1:41 AM Posted by Vandaime No comments
Before you can run mysql, you must activate it. Here's how to activating mysql database :
#cd /var/lib
#chown -R mysql mysql mysql
#chgrp -R root mysql mysql
#mysql_install_db
#mysqld_safe &
#mysqladmin -u root password 'your new password'

To make the mysql applications always run every time we get into the system, you can activate it using pkgtool service.



Run pkgtool as usual then select setup.

Then select services to enable the system daemon what we need.

From here you can choose the services you want to run. Since we only want to enable the mysql daemon every time the system is activated, select rc.mysqld

0 comments:

Post a Comment