Kioskea
Recherche
Ask a question »

Installing MySQL on Gentoo Linux

March 2015

A database management system is an essential part of computing, and one of the most widely is MySQL. The MySQL server comes from the house of Oracle and can be installed in the Gentoo distribution of Linux. Firstly, the user has to download packages that are required to download this open source database. For this one has to run a custom command. By default MySQL is placed in the start up through the process of installation. It can be removed and put in the run command and for that, again specific commands have to be keyed in the Gentoo distribution of Linux systems.

Installing MySQL on Gentoo Linux



Installing MySQL on Gentoo distribution is made up of very easy and simple steps:
  • Run the command
    • emerge dev-db/mysql


This command allows the downloading of packages required to install MySQL and the installing of them.
  • Run the command
    • emerge --config =dev-db/mysql-[version]
  • This version allows you to start configuring the server and MySQL installed initialising root password.
    • Starting or stopping the server can be done via the command:
    • /etc/init.d/mysql start/stop
  • By default installation places the MySQL server at startup. To remove it run the command
    • rc-update -del mysql
  • To put it in the run mode:
    • rc-update -add mysql 
For unlimited offline reading, you can download this article for free in PDF format:
Installing-mysql-on-gentoo-linux.pdf

See also

In the same category

Published by jak58 - Latest update by Celia Gatward
This document entitled « Installing MySQL on Gentoo Linux » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.