FeaturesWP CloudPricingEE CLIContactMy Account

Features

Team Access & User Permissions

Server Setup & Management

Site Creation & Management

Deployments & Developer Tools

Firewall Protection

Speed & Caching

Backups & Recovery

Logs & Monitoring

Create WP Cloud Sites

All Features

Read Documentation

Install

Installation Guide

FAQ

Roadmap

Explore EE CLI

Resources

Commands

Handbook

Blog

Community

Forum

EasyExperts

Tutorials

Subscribe

Github

CLEAR

Start For Free

separator Tutorials separator Mysql separator tuning-primer.sh – an alternative for mysqltuner

Topics

On this page

Insatllation

Running

tuning-primer.sh – an alternative for mysqltuner

We are recently using tuning-primer.sh and finding it is better than mysqltuner.

Insatllation


			cd /usr/local/bin
wget https://launchpadlibrarian.net/78745738/tuning-primer.sh
chmod u+x tuning-primer.sh
		

mysqltuner looks like giving wrong suggestions sometimes. Also its not mysql 5.6 ready something which we are using everywhere.

Running


			tuning-primer.sh
		

For example, mysqltuner on mysql 5.6 ask us to change value of table_cache variable. It is renamed to table_open_cache. So following mysqltuner suggestion blindly can be risky sometimes.

Though, both are good tools. Use both!

Reset MySQL root password

PREVIOUS

Using MariaDB 10

NEXT


Comments

  1. Pete Avatar

    Pete

    February 5, 2014

    I have to do 02 first:
    1-/ you have to create a ~/.my.cnf. reference: External link to rtcamp.comhttps://rtcamp.com/tutorials/mysql/mycnf-preference/
    2-/ use apt-get install bc

    1. Rahul Bansal Avatar

      Rahul Bansal

      February 5, 2014

      May I know which OS/version you are using? I would like to know which OS does not has bc preinstalled.

      About ~/.my.cnf it is mere convenience part. If that file is not present, you need to specify username and password while running commands.

      1. Pete Avatar

        Pete

        February 8, 2014

        I am using Ubuntu 12.04 LTS. Your posts is very helpful so I just want to update a little bit
        information

        1. Rahul Bansal Avatar

          Rahul Bansal

          February 8, 2014

          Did not get you? What would you like to update?

  2. Sujoy Dhar Avatar

    Sujoy Dhar

    February 17, 2014

    Brother Rahul I have done the following commands that you mentioned about in my server but I am not getting any result output so can you tell me how to use this one ?

    Thank You,
    Sujoy

    1. Rahul Bansal Avatar

      Rahul Bansal

      February 17, 2014

      What happens when you run command: tuning-primer.sh ?

      1. Sujoy Dhar Avatar

        Sujoy Dhar

        March 1, 2014

        Ok Understand it started working after quite sometime I think it takes time to load 🙂

Features

Useful Links

Product

Other Products

Subscribe for curated product updates, tips, and announcements.

"*" indicates required fields

Instagram

This field is for validation purposes and should be left unchanged.

Email*

SIGN ME UP

Δ


© rtCamp, since 2009. All rights reserved.

Powered by