mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-05 23:50:33 +00:00
kimai: Set global SQL mode to empty in install script (#8747)
This commit is contained in:
parent
d54b3a0bdb
commit
5b4f67f94f
1 changed files with 1 additions and 0 deletions
|
|
@ -33,6 +33,7 @@ MYSQL_VERSION=$(mariadb --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
|
|||
$STD mariadb -u root -e "CREATE DATABASE $DB_NAME;"
|
||||
$STD mariadb -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';"
|
||||
$STD mariadb -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;"
|
||||
$STD mariadb -u root -e "SET GLOBAL sql_mode='';"
|
||||
{
|
||||
echo "Kimai-Credentials"
|
||||
echo "Kimai Database User: $DB_USER"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue