Installation of MySQL Database

From Wiki Against Mines

Jump to: navigation, search

Back to installation manual.

This manual is about the MySQL Server installation on a Linux-System using the package manager. Dependent on different distributions the installation process can vary. Therefore a current distribution is used in this particular case.

Systemkomponenten-Mysql-en.png

Contents

Reader requirements

Reading the following manual, a certain amount of knowledge concerning installation, configuration, and basic skill level of Linux is required. That means:

Debian

To install the MySQL Server the integrated package manager apt is used. To install the MySQL Server please type in the following command as a root-user.

su root
apt-get install mysql-server

The command su root logs the user on to the root system. Therefore the root password is required. The command apt-get install mysql installs the package mysql (MySQL Server) including all required packages on the server. Please confirm all packages to be installed within the following step.

Debian Bestaetigung install.gif

These are going to be installed by the chosen medium. This operation can take a few minutes depending on the chosen medium.

Debian Install download.gif

OpenSuse 10.3

To install the database server MySQL the YaSt Software Management is used within OpenSource. To start YaST please typ in the following command as a root user.

su root
yast2

There upon the YaST Software Management opened.

Yast menue.gif

Please select menu software and Install and Remove Software as sub-category. The software administration opened.

Yast-softwareverwaltung.gif

Searching for required software packages please press ALT + S, and type in mysql.

Yast-Suche.gif

Select the mysql package by pressing space. To confirm the selection press ALT + A.

Yast-Softwareauswahl.gif

Please confirm the question after installing additional packages. Packages are going to be loaded. Afterwards please confirm to install these packages.

Following you are able to leave the software administration pressing ALT + C and to leave YaST please press ALT + Q.

Gentoo

To install MySQL Server the package manager emerge integrated in Gentoo is used. To install the MySQL Server please type in the following command as a root user. su root emerge mysql

The command su root logs the user on to the root system. Therefore the root password is required. The command emerge mysql installs the package mysql (MySQL Server) including all required packages on the server. Afterward all packages are downloaded and installed automatically. Please wait until the prompt comes back. The installation is ready.

GentooInstallation1.jpg

Assessment

Please answer the following questions. For checking please klick the button “marking” In case of reaching less then four marks it is recommended to read the MySAQL installation paragraph, again.


Continue with MySQL configuration.

Back to installation manual.

Personal tools