Okay, so more than a year has passed since the question, but I thought it was relevant because you can really use the mysqltuner script if you combine it with Cygwin.
- Install Cygwin
- Make sure Perl is installed
In addition, I also installed the mysql and mysqld packages (necessary for the script to connect to the "remote" MySQL.
Copy the mysqltuner.pl script to the Cygwin user home directory (found in the cygwin_install_dir / home / your.user section )
- Launch Cygwin Terminal
- Run the script $ perl mysqltuner.pl --host mysql_host_ip --forcemem 512
If you encounter an error in the line: ERROR 1130 (HY000): Host 'somename.company.com' is not allowed to connect to this MySQL server
Go to the database server and add the appropriate user and personal resources
Now you can use mysqltuner in a Windows environment for local and remote MySQL servers.
... screenshots removed because I am not yet allowed to use images, sorry.
source share