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