Created
August 3, 2020 22:45
-
-
Save jessuppi/ab5517aa50b3bc83ac37abb8267e005b to your computer and use it in GitHub Desktop.
Debconf prepare MySQL root password (variations)
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 characters
## 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reserving first comment