Question

I am running Ubuntu 10.04 LTS and I'm trying to run mysqltuner but it won't work. I downloaded the script and made it executable and then i typed ./mysqltuner.pl but it gave error

./mysqltuner.pl: line 4: syntax error near unexpected token `newline'
./mysqltuner.pl: line 4: `<!DOCTYPE html>'

Does anyone know how to fix this?

Was it helpful?

Solution

You probably didn't get the actual script.

Try to download https://raw.github.com/rackerhacker/MySQLTuner-perl/master/mysqltuner.pl instead

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top