mirror of
https://bitbucket.org/jsuto/piler.git
synced 2024-12-24 19:10:13 +01:00
Fixed postinstall mysql root password message
Signed-off-by: Janos SUTO <sj@acts.hu>
This commit is contained in:
parent
704030b282
commit
b1dabfefc5
@ -234,7 +234,7 @@ gather_mysql_account() {
|
|||||||
askNoEcho "Please enter mysql password for ${MYSQL_USERNAME}" ""
|
askNoEcho "Please enter mysql password for ${MYSQL_USERNAME}" ""
|
||||||
MYSQL_PASSWORD="$response"
|
MYSQL_PASSWORD="$response"
|
||||||
|
|
||||||
askNonBlankNoEcho "Please enter mysql root password" ""
|
askNonBlankNoEcho "Please enter mysql root password. If its a recent version of mysql and uses socket authentication, then any string would do here" ""
|
||||||
MYSQL_ROOT_PASSWORD="$response"
|
MYSQL_ROOT_PASSWORD="$response"
|
||||||
|
|
||||||
s=$(echo "use information_schema; select TABLE_NAME from TABLES where TABLE_SCHEMA='${MYSQL_DATABASE}'" | mysql -h "$MYSQL_HOSTNAME" -u root --password="$MYSQL_ROOT_PASSWORD")
|
s=$(echo "use information_schema; select TABLE_NAME from TABLES where TABLE_SCHEMA='${MYSQL_DATABASE}'" | mysql -h "$MYSQL_HOSTNAME" -u root --password="$MYSQL_ROOT_PASSWORD")
|
||||||
|
Loading…
Reference in New Issue
Block a user