Recommended MySQL tuning utility for Windows

前端 未结 3 871
我在风中等你
我在风中等你 2021-02-15 05:00

I have been using MySQL Tuner (http://mysqltuner.com) on Linux for a while and am quite comfortable with it. Now, for whichever reason, we have had to start hosting other websit

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-15 05:26

    Ok so this is over a year after the question but I thought it relevant because you can actually still use the mysqltuner script if you combine it with Cygwin.

    • Install Cygwin
    • Make sure Perl is installed
    • Additionally I installed the mysql and the mysqld packages as well (Needed for the script to connect to a "remote" MySQL.

    • Copy the mysqltuner.pl script to your Cygwin user home directory (Found under cygwin_install_dir/home/your.user)

    • Start the Cygwin terminal
    • Run the script $ perl mysqltuner.pl --host mysql_host_ip --forcemem 512

    If you encounter an error in the line of: 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 privelages

    You should now be able to use mysqltuner in a windows environment against local as well as remote MySQL servers.

    ...screenshots removed because I'm not allowed to use images yet, sorry.

提交回复
热议问题