In this post, I’ll explain how to run Percona Server for MySQL and Percona Server for MongoDB on Bash on Windows on Ubuntu.
We are getting a good number of questions about whether Percona Server (for both MySQL and MongoDB) is available for Windows for evaluation or development purposes. I want to provide a guide to how to get it running.
In comments to the post Running Percona XtraBackup on Windows … in Docker, Peter Laursen recommend Bash on Ubuntu on Windows. That hadn’t occurred to me before, so the credit goes to Peter Laursen.
As of that older post, it appears that Percona XtraBackup was not working right in Bash on Ubuntu on Windows. But in my latest test on Windows 10 Creators Edition, the problem seems resolved.
But you can get Percona Server for MySQL Percona Server for and MongoDB) running in Bash on Windows on Ubuntu right away. It is quite easy and does not require extra work. Probably the biggest step is to get Bash on Ubuntu on Windows enabled by itself. A manual on how to do this is here:
https://www.howtogeek.com/249966/how-to-install-and-use-the-linux-bash-shell-on-windows-10/
After this, follow the steps to install Percona Server for MySQL or Percona Server for MongoDB from our Ubuntu repositories:
- Percona Server for MySQL: https://www.percona.com/doc/percona-server/LATEST/installation/apt_repo.html
- Percona Server for MongoDB: https://www.percona.com/doc/percona-server-for-mongodb/LATEST/install/apt.html
After this, you can start the server as you would in a regular Linux environment.
TokuDB doesn’t work though