Results 1 to 2 of 2

Thread: How to Install MySQL on Gentoo Linux

  1. #1
    Join Date
    May 2008
    Posts
    29

    How to Install MySQL on Gentoo Linux

    Installing MySQL on Gentoo distribution is very easy and simple steps:
    • Run command

      Code:
       emerge dev-db/mysql
      This command allows downloading packades required to install mysql and installing them.
    • Run command

      Code:
       emerge - config = dev-db/mysql- [version]
      This version allows you to start configuring the server and mysql installed initializing root password.
    • The starting or stopping the server can be done via the command:

      Code:
      / etc / init.d / mysql start / stop
    • By default installation places the mysql server at startup. To remove it run the command.

      Code:
      rc-update del-mysql
    • To put it in the start run

      Code:
       rc-update add mysql -

  2. #2
    Join Date
    Jul 2008
    Posts
    92

    Re: How to Install MySQL on Gentoo Linux

    Before that take a backup of your current data.

    Dump of all databases

    Code:
    # mysqldump \
      -uroot \
      --password='your_password' \
      -hlocalhost \
      --all-databases \
      --opt \
      --allow-keywords \
      --flush-logs \
      --hex-blob \
      --master-data \
      --max_allowed_packet=16M \
      --quote-names \
      --result-file=BACKUP_MYSQL_4.0.SQL
    Now a file named BACKUP_MYSQL_4.0.SQL should exist, which can be used later to recreate your data. The data is described in the MySQL dialect of SQL, the Structured Query Language.

Similar Threads

  1. Common ways to install Gentoo Linux
    By Ebadaah28 in forum Tips & Tweaks
    Replies: 2
    Last Post: 01-06-2011, 07:54 AM
  2. Replies: 4
    Last Post: 13-01-2011, 01:08 AM
  3. How to Test Gentoo Linux?
    By foraman in forum Operating Systems
    Replies: 4
    Last Post: 09-11-2010, 01:40 AM
  4. Install eclipse on Gentoo Linux
    By Beverly Archer in forum Windows Software
    Replies: 5
    Last Post: 26-03-2010, 01:50 PM
  5. Replies: 3
    Last Post: 07-11-2009, 09:36 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,496,232.84632 seconds with 17 queries