# Cpusrlocalmysqlsupport-filesmysql.serveretcrc.dinit.dmysqld # chkconfig -- addmysqld use ntsysv settings to enable mysql to run automatically at each startup. Now that mysql is installed, you can start your mysql service # etcrc. dinit. dmysqldstart.
# Cp/usr/local/mysql/support-files/mysql. server/etc/rc. d/init. d/mysqld # chkconfig -- add mysqld use ntsysv to enable mysql to run automatically at each startup. Now that mysql is installed, you can start your mysql service #/etc/rc. d/init. d/mysqld start.
# Cp/usr/local/mysql/support-files/mysql. server/etc/rc. d/init. d/mysqld
# Chkconfig -- add mysqld
Set ntsysv to enable mysql to run automatically at each startup..
Now that mysql is installed, you can start your mysql service.
#/Etc/rc. d/init. d/mysqld start
The following steps are critical,
# Ln-s/usr/local/mysql/lib/mysql/usr/lib/mysql
# Ln-s/usr/local/mysql/include/mysql/usr/include/mysql
You can skip this step. You can customize the myslq library file path when compiling other software, but I still like to link the library file to the default location, so that you are compiling PHP like, when using software such as Vpopmail, you do not need to specify the mysql library file address.