Run as root user
This commit is contained in:
parent
1868c2a0b7
commit
8027abaa82
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ dexec="docker exec ${container}"
|
|||
|
||||
password=$(${dexec} env | grep MYSQL_ROOT_PASSWORD | awk -F '=' '{print $2}')
|
||||
|
||||
mysql="${dexec} mysql -p${password}"
|
||||
mysql="${dexec} mysql -p${password} -u root"
|
||||
|
||||
if [[ "$(${mysql} -NB -e 'select exists(select * from information_schema.TABLES where TABLE_SCHEMA = "nextcloud" and TABLE_NAME = "oc_global_scale_users")')" == "1" ]]
|
||||
then
|
||||
|
|
Loading…
Add table
Reference in a new issue