Forge Home


Install, configure and manage MySQL on Windows

Tommy S.



5,831 latest version

4.5 quality score

Version information

  • 0.1.2 (latest)
  • 0.1.1
  • 0.1.0
released Sep 8th 2017
This version is compatible with:
  • Windows

Start using this module


tspy/win_mysql — version 0.1.2 Sep 8th 2017


Table of Contents

Travis Status


This module installs both MySQL Server and MySQL Client (Workbench). We use Chocolatey for the installation of both packages, Puppet Labs inifile module to manage the my.ini settings, the Reboot module which is used for installing the required vcredist2013 package required for the server to operate properly reference.

Beginning with win_mysql

include win_mysql


You can use the individual classes separately

include win_mysql::server
include win_mysql::client

The server currently installs the package to 'c:\tools\mysql' but then uses the "Current" running version, which is located at 'c:\tools\mysql\current'.

The win_mysql::server::config is where you can set additional configuration parameters, but I've included some base examples, which came from a couple of sources, which are referenced in the class. Make changes to config values in both the config.pp file and params.pp. Soon enough the values will be put into hiera.

The win_mysql::client installs the MySQL Workbench software to its default path.


This module has been tested on Windows 2012 adn Windows 2016. Currently, in 2016 the Chocolatey installation does not set the path to MySQL. This will be added shortly.


Fork it, develop it, push it. Or just give feedback, you won't hurt my feelings.

Release Notes

0.1.0 is the first release and there will definitely be cleanup. Looking to move the params to hiera.

0.1.1 fixes some linting errors adds OS support information and fixed unbounded ranges on dependencies.

0.1.2 added tags to metadata.