I'm looking for provisioning a Debian 8.2 Virtualbox VM with MariaDB 10.
I use the following :
sudo export DEBIAN_FRONTEND=noninteractive
sudo debconf-set-selections <<< "mariadb-server mariadb-server/root_password password $ROOTDBPWD"
sudo debconf-set-selections <<< "mariadb-server mariadb-server/root_password_again password $ROOTDBPWD"
sudo debconf-set-selections <<< "mariadb-server mariadb-server/oneway_migration boolean true"
sudo apt-get install mariadb-server -y
When running, the script stop I think due to the last prompt "oneway_migration boolean true" because I can see this prompt unformatted in the console (even with "export DEBIAN_FRONTEND=noninteractive").
This is what I get before the script stops :
──────────┤ Configuring mariadb-server-10.0├────────────
MariaDB is a drop-in replacement for MySQL. It will use your current configuration file (my.cnf) and current databases.
Note that MariaDB has some enhanced features, which do not exist in MySQL and thus migration back to MySQL might not always work, at least not as automatically as migrating from MySQL to MariaDB.
Really migrate to MariaDB? <Yes><No>
Can anyone give me a hand on this or share the way they provision MariaDB 10(or more) with a shell script?
Thanks, Regards