Last active
August 29, 2015 14:27
-
-
Save marceloneil/f040787c3c6981c8d447 to your computer and use it in GitHub Desktop.
Automatic MySQL configurator for Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo debconf-set-selections < preseed.cfg | |
wget "http://dev.mysql.com/get/mysql-apt-config_w.x.y-zubuntu<version>_all.deb" | |
sudo DEBIAN_FRONTEND=noninteractive dpkg -i mysql-apt-config_w.x.y-zubuntu<version>_all.deb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql-apt-config mysql-apt-config/select-server select mysql-5.6 | |
mysql-apt-config mysql-apt-config/select-workbench select workbench-6.3 | |
mysql-apt-config mysql-apt-config/select-utilities select none | |
mysql-apt-config mysql-apt-config/select-connector-python select none | |
mysql-apt-config mysql-apt-config/select-connector-odbc select connector-odbc-x.x | |
mysql-apt-config mysql-apt-config/select-product select Apply |
Also, change the settings in preseed.cfg to your preference
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Configure w.x.y-z and to your preferred MySQL config version (not the MySQL server version) and Ubuntu flavour respectively.