Changes

From SME Server
Jump to navigationJump to search
2 bytes added ,  23:15, 17 May 2022
Line 208: Line 208:  
echo "CREATE USER IF NOT EXISTS `config getprop nextcloud DbUser`@localhost IDENTIFIED BY '`config getprop nextcloud DbPassword`';"| mysql105
 
echo "CREATE USER IF NOT EXISTS `config getprop nextcloud DbUser`@localhost IDENTIFIED BY '`config getprop nextcloud DbPassword`';"| mysql105
 
echo "GRANT ALL PRIVILEGES ON `config getprop nextcloud DbName`.* TO `config getprop nextcloud DbUser`@localhost; FLUSH PRIVILEGES;" | mysql105
 
echo "GRANT ALL PRIVILEGES ON `config getprop nextcloud DbName`.* TO `config getprop nextcloud DbUser`@localhost; FLUSH PRIVILEGES;" | mysql105
occ config:system:set host --value localhost:/var/lib/mysql/mariadb105.sock --type string
+
occ config:system:set dbhost --value localhost:/var/lib/mysql/mariadb105.sock --type string
 
occ maintenance:mode --off
 
occ maintenance:mode --off
 
</syntaxhighlight>
 
</syntaxhighlight>
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu