Created
April 13, 2015 14:49
-
-
Save mahemoff/54b31e272421472d4fb6 to your computer and use it in GitHub Desktop.
MySQL 5.6 in CircleCI
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
dependencies: | |
post: | |
- export DEBIAN_FRONTEND=noninteractive | |
- sudo apt-get -y remove mysql-server | |
- sudo apt-get -y autoremove | |
- sudo apt-get -y install software-properties-common | |
- sudo add-apt-repository -y ppa:ondrej/mysql-5.6 | |
- sudo apt-get update | |
- sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password password ""' | |
- sudo debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password ""' | |
- sudo apt-get -y install mysql-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi all,
I took the code from @eexit and change a couple of lines because it wasn't working on my builds, here is my successful attempt, hope it helps.