Friday, November 23, 2007
MySql painless deployment on Slackware
Hello everyone....I've decided to use my blog as a repository of material not strictly related to security so as to post more often and most of all to keep a track of useful configuration.
As you can infer from the title we are going through a quick and painless MySql deployment on Slackware (my one and only distro of choice).
First of all download MySql package from a slackware repository and install it with:
- installpkg MySql-ver.tgz
then we need to install the db with:
- mysql_install_db
change the permission of the mysql library to mysql user
- cd /var/lib/;chown -R mysql:mysql mysql
finally fire up the mysql daemon
- /usr/bin/mysqld_safe &
If you want to start the daemon at start-up you gotta issue:
- chmod a+x /etc/rc.d/rc.mysqld
This concludes the little guide.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment