Installation of MySQL Database
From Wiki Against Mines
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.
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:
- Installation and initial configuration of Debian or
- Installation und configuration of Suse or
- Installation and initial configuration of Gentoo for 32bit or 64bit systems 32 Bit and 64 Bit*
- Working experience with Linux prompt (Bash) (Or (Putty for Windows, SSH))
- Usage of package manager (apt, emerge, YaST)
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.
These are going to be installed by the chosen medium. This operation can take a few minutes depending on the chosen medium.
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.
Please select menu software and Install and Remove Software as sub-category. The software administration opened.
Searching for required software packages please press ALT + S, and type in mysql.
Select the mysql package by pressing space. To confirm the selection press ALT + A.
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.
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.







