Learning Mysql



Download 4.24 Mb.
View original pdf
Page53/366
Date04.08.2023
Size4.24 Mb.
#61806
1   ...   49   50   51   52   53   54   55   56   ...   366
Learning MySQL
system-config-services
at the command line. Similarly, with Mandriva, you can use the Services program from the
Mandriva Control Center (select Configure Your Computer from the Configuration
50 | Chapter 2:
Installing MySQL

submenu of the System menu you can also run this program by typing
drakxservices
at the command line. We’ll explain how to configure services without using these graphical tools.
On a Red Hat or Mandriva system, type chkconfig -level 35 mysql on
to enable automatic startup in runlevels 3 and 5 (corresponding to normal console or graphical operation run levels, and chkconfig -level 35 mysql off
to disable it.
In a Debian-based system, startup services are controlled using the update-rc.d command. Enable MySQL as follows update-rc.d mysql defaults
Adding system startup for /etc/init.d/mysql ...
/etc/rc0.d/K20mysql -> ../init.d/mysql
/etc/rc1.d/K20mysql -> ../init.d/mysql
/etc/rc6.d/K20mysql -> ../init.d/mysql
/etc/rc2.d/S20mysql -> ../init.d/mysql
/etc/rc3.d/S20mysql -> ../init.d/mysql
/etc/rc4.d/S20mysql -> ../init.d/mysql
/etc/rc5.d/S20mysql -> ../init.d/mysql and disable automatic startup as follows update-rc.d -f mysql remove
update-rc.d: /etc/init.d/mysql exists during rc.d purge (continuing)
Removing any system startup links for /etc/init.d/mysql ...
/etc/rc0.d/K20mysql
/etc/rc1.d/K20mysql
/etc/rc2.d/S20mysql
/etc/rc3.d/S20mysql
/etc/rc4.d/S20mysql
/etc/rc5.d/S20mysql
/etc/rc6.d/K20mysql
If you have a standalone Apache web server installed, you can enable and disable its automatic startup by using httpd or apache2
instead of mysql in the preceding commands.
Installing Under Windows
The MySQL installation process for Windows uses graphical installation programs and is relatively straightforward. You need to first decide whether you want to install only
MySQL, or whether you’d like to install an integrated package including additional software that you’re likely to need later. Both approaches are equally easy to follow. At various points during the installation process, you maybe prompted to allow the installer program to run and modify your system, including unblocking server ports. Read

Download 4.24 Mb.

Share with your friends:
1   ...   49   50   51   52   53   54   55   56   ...   366




The database is protected by copyright ©ininet.org 2024
send message

    Main page