cloudron-support: suppress mysql message

This commit is contained in:
Girish Ramakrishnan
2024-01-03 22:01:48 +01:00
parent 2224ccab7c
commit 32d3c0b920

View File

@@ -41,7 +41,7 @@ function warn() {
}
function fail() {
echo -e "[${RED}FAIL${DONE}]\t${1}"
echo -e "[${RED}FAIL${DONE}]\t${1}" >&2
}
function enable_remote_access() {
@@ -94,7 +94,7 @@ function check_box() {
}
function owner_login() {
check_host_mysql
check_host_mysql >/dev/null
local -r owner_username=$(mysql -NB -uroot -ppassword -e "SELECT username FROM box.users WHERE role='owner' AND username IS NOT NULL AND active=1 ORDER BY creationTime LIMIT 1" 2>/dev/null)
local -r owner_password=$(pwgen -1s 12)