major / MySQLTuner-perl

MySQLTuner is a script written in Perl that will assist you with your MySQL configuration and make recommendations for increased performance and stability.
GNU General Public License v3.0
8.98k stars 1.29k forks source link

How to update if installed via Ubuntu APT? #776

Open danfratamico opened 7 months ago

danfratamico commented 7 months ago

I installed version 1.7.17 via Ubuntu 22.04 APT. How can I go about installing the latest 2.5.2 version? Is there an APT repo I can install?

C0RD commented 7 months ago

2.5.2 is in Ubuntu 24 https://packages.ubuntu.com/source/noble/mysqltuner

You can download the *.deb at https://packages.ubuntu.com/noble/all/mysqltuner/download and install it with 'dpkg -i'

Ndhasjv commented 6 months ago

Is there an APT repo I can install?

C0RD commented 6 months ago

The Line for the repo is mentioned on top of the download-page mentioned above.

To only fetch mysqltuner from that, you need to fiddle with /etc/apt/preferences.

Example: (should be placed in /etc/apt/preferences.d/mysqltuner)

Package: mysqltuner
Pin: release a=noble
Pin-Priority: 900

Further reading: