InMotion Hosting Support Center

In this tutorial we will show you how to install Percona DB server via SSH. This will allow you to replace MySQL with Percona DB Server.

Installing Percona

  1. SSH into your server as the root user.
  2. Run the following command to download the Percona package:
    yum install http://www.percona.com/downloads/percona-release/redhat/0.1-4/percona-release-0.1-4.noarch.rpm
  3. You will see the following message, type 'y' for yes then click the enter key. Total size: 5.8 k
    Installed size: 5.8 k
    Is this ok [y/N]:

    You should then see a "Complete!" message.

  4. Run the following command to install epel. This will allow you to install libev, which is required.
    yum install epel-release
  5. You will see the following message, type 'y' for yes then click enter.
    Installed size: 22 k
    Is this ok [y/N]: y
  6. Run the following command to install libev.
    yum install libev
  7. You will see the following message, type 'y' for yes then click enter.
    Total download size: 113 k
    Installed size: 151 k
    Is this ok [y/N]: y
  8. Run the following command to install Percona XtraBackup. This will allow you to revert the changes if necessary.
    yum install percona-xtrabackup
  9. When you see the following message, type 'y' for yes then click enter. You should see this message twice. Is this ok [y/N]:
  10. Create a backup by running this command:
    xtrabackup --target-dir=/backup/xtrabackup --backup

    Then, run this command:
    xtrabackup --target-dir=/backup/xtrabackup --prepare
  11. Stop and remove MySQL by running the following commands:
    service mysql stop
    Then, run this command:
    yum remove MySQL* mysql*
  12. Run the following command to install Percona Server:
    yum install Percona-Server-server-57 percona-toolkit percona-xtrabackup
  13. At this point Percona DB Server has been installed. You can verify this by logging into cPanel, clicking phpMyAdmin, then viewing the Database Type in the Database server section.

Congratulations, now you know how to install Percona DB Server on your server!

Support Center Login

Social Media Login

   
Social Login Joomla

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!