You can setup MySQL
by performing the next commands as root:
Initialize the MySQL databases (only necessary
once):
# su mysql -c mysql_install_db
Start the MySQL daemon:
# mysqld_safe --user=mysql &
Set the root password:
# mysqladmin -u root password yourpassword
Place the startup script:
# cp /usr/share/mysql/mysql.server /etc/rc.d/init.d/mysql
Now you can control it with this command:
# /etc/rc.d/init.d/mysql start/restart/stop
Or you can enable it at startup using VASM. |