A few words of thanks would be greatly appreciated.

Installing MySQL on Gentoo Linux

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 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 

A few words of thanks would be greatly appreciated.

Ask a question
Jean-François Pillou

CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jeff Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.

Learn more about the CCM team

Published by . Latest update on by Celia Gatward.

This document, titled "Installing MySQL on Gentoo Linux," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (https://ccm.net/).