Created
August 3, 2020 22:45
-
-
Save jessuppi/ab5517aa50b3bc83ac37abb8267e005b to your computer and use it in GitHub Desktop.
Revisions
-
jessuppi created this gist
Aug 3, 2020 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ ## prepare root password for apt (PSA: sudo the shit out of these or it will fail) ## #####sudo echo "mysql-community-server mysql-community-server/root-pass password ${DB_PASSWORD_ROOT}" | sudo debconf-set-selections #####sudo echo "mysql-community-server mysql-community-server/re-root-pass password ${DB_PASSWORD_ROOT}" | sudo debconf-set-selections #####sudo echo "mysql-community-server mysql-server/default-auth-override select Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)" | sudo debconf-set-selections # echo "mysql-community-server mysql-community-server/root-pass password ${DB_PASSWORD_ROOT}" | debconf-set-selections # echo "mysql-community-server mysql-community-server/re-root-pass password ${DB_PASSWORD_ROOT}" | debconf-set-selections # sudo debconf-set-selections <<< "mysql-community-server mysql-community-server/root-pass password ${DB_PASSWORD_ROOT}" # sudo debconf-set-selections <<< "mysql-community-server mysql-community-server/re-root-pass password ${DB_PASSWORD_ROOT}" # sudo debconf-set-selections <<< "mysql-community-server mysql-server/default-auth-override select Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)" # echo "mysql-server mysql-server/root_password password ${DB_PASSWORD_ROOT}" | debconf-set-selections # echo "mysql-server mysql-server/root_password_again password ${DB_PASSWORD_ROOT}" | debconf-set-selections # echo "mysql-community-server mysql-server/default-auth-override select Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)" | debconf-set-selections # debconf-set-selections <<< "mysql-server mysql-server/root_password password $DB_PASSWORD_ROOT" # debconf-set-selections <<< "mysql-server mysql-server/root_password_again password $DB_PASSWORD_ROOT" # debconf-set-selections <<< 'mysql-community-server mysql-community-server/re-root-pass password rot' # debconf-set-selections <<< 'mysql-community-server mysql-community-server/root-pass password rot' # debconf-set-selections <<< "mysql-server mysql-server/root_password password rootpw" # debconf-set-selections <<< "mysql-server mysql-server/root_password_again password rootpw" # WORKS 5.7 ... echo debconf mysql-server/root_password password ${DB_PASSWORD_ROOT} | debconf-set-selections # WORKS 5.7 ... echo debconf mysql-server/root_password_again password ${DB_PASSWORD_ROOT} | debconf-set-selections