Replace mysql with mariadb
This commit is contained in:
@@ -4,9 +4,9 @@ source /build/config
|
||||
set -x
|
||||
|
||||
## MySQL
|
||||
debconf-set-selections <<< 'mysql-server mysql-server/root_password password dummy'
|
||||
debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password dummy'
|
||||
apt_get_install_permanent mysql-server
|
||||
debconf-set-selections <<< 'mariadb-server mariadb-server/root_password password dummy'
|
||||
debconf-set-selections <<< 'mariadb-server mariadbql-server/root_password_again password dummy'
|
||||
apt_get_install_permanent mariadb-server
|
||||
|
||||
## Environment
|
||||
export_env MYSQL_CONFIG /etc/mysql/my.cnf
|
||||
@@ -22,4 +22,3 @@ tee -a $MYSQL_CONFIG <<EOF
|
||||
[mysqld]
|
||||
skip-grant-tables
|
||||
EOF
|
||||
# mysql -u root -pdummy -e "GRANT ALL ON *.* to root@'%' IDENTIFIED BY 'dummy';"
|
||||
Reference in New Issue
Block a user