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 
Published by jak58. Latest update on March 16, 2012 at 01:13 PM 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 (
MYSQLD.EXE encountered an error and needs to close
MySQL console: Redirect standard output