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.79k stars 1.27k forks source link

mysqltuner.pl: env: bad interpreter: No such file or directory #766

Closed gralex54 closed 5 months ago

gralex54 commented 5 months ago

Hello,

The new version does not work on CentOS 6,7,8 and fails with the error:

mysqltuner.pl: env: bad interpreter: No such file or directory

see it has no path for env:

#!env perl
# mysqltuner.pl - Version 2.5.3
# High Performance MySQL Tuning Script

should be

#!/bin/env perl
# mysqltuner.pl - Version 2.5.3
# High Performance MySQL Tuning Script
FabioPedretti commented 5 months ago

Fix is in #767.