Skip to content

Commit

Permalink
Merge pull request #441 from scoutman57/mariadb-10.2
Browse files Browse the repository at this point in the history
Update mariadb to 10.2.* to work with laravel 5.4
  • Loading branch information
taylorotwell authored Feb 5, 2017
2 parents ffae290 + 0314ed5 commit 02f8799
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/install-maria.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ rm -rf /etc/mysql
# Add Maria PPA

apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.osuosl.org/pub/mariadb/repo/10.1/ubuntu xenial main'
add-apt-repository 'deb [arch=amd64,i386,ppc64el] http://ftp.osuosl.org/pub/mariadb/repo/10.2/ubuntu xenial main'
apt-get update

# Set The Automated Root Password

export DEBIAN_FRONTEND=noninteractive

debconf-set-selections <<< "mariadb-server-10.1 mysql-server/data-dir select ''"
debconf-set-selections <<< "mariadb-server-10.1 mysql-server/root_password password secret"
debconf-set-selections <<< "mariadb-server-10.1 mysql-server/root_password_again password secret"
debconf-set-selections <<< "mariadb-server-10.2 mysql-server/data-dir select ''"
debconf-set-selections <<< "mariadb-server-10.2 mysql-server/root_password password secret"
debconf-set-selections <<< "mariadb-server-10.2 mysql-server/root_password_again password secret"

# Install MariaDB

Expand Down

0 comments on commit 02f8799

Please sign in to comment.