#################################################################################

Title:  How to start MySQL server daemon on a Slackware just installed
Author: Marco Segato <segatom(at)yahoo(dot)it> aka Mach <tumin17(at)yahoo(dot)it>
Website: http://www.marcosegato.tk/

#################################################################################


==========================
How to read this few lines
==========================

If the line starts with a "#" you have to execute the command as root;
if the line starts with a "$" you can execute the command as normal user.


==========================================
A) Starting MySQL server daemon first time
==========================================

1) Complete default installation by executing:
	# mysql_install_db

2) Change MySQL directory permissions:
	# chown -R mysql.mysql /var/lib/mysql

3) Start MySQL server daemon:
	# /usr/bin/mysqld_safe --user=mysql &

4) Control if MySQL server daemon is up:
	$ ps -e | grep my
   If your output is something like this:
	2476 pts/3 00:00:00 mysqld_safe
	2497 pts/3 00:00:00 mysqld
   MySQL server is alive.  :)


======================================================
B) Starting MySQL server daemon at the boot of your pc
======================================================

Once you started MySQL server daemon first time like described in section A,
you can decide to start it everytime you boot your linux-box.
All you have to do is to add to the file /etc/rc.d/rc.local this line:
	/usr/bin/mysqld_safe --user=mysql &
NB: don't forget the "&" at the end!


#################################################################################

Bye! ;)

#################################################################################