Skip to content

Commit dd9e285

Browse files
authored
Update kimai-install.sh
1 parent 7f513af commit dd9e285

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install/kimai-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ DB_NAME=kimai_db
4545
DB_USER=kimai
4646
DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
4747
MYSQL_VERSION=$(mysql --version | grep -oE '[0-9]+\.[0-9]+\.[0-9]+')
48-
$STD root -e "CREATE DATABASE $DB_NAME;"
48+
$STD mysql -u root -e "CREATE DATABASE $DB_NAME;"
4949
$STD mysql -u root -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';"
5050
$STD mysql -u root -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost'; FLUSH PRIVILEGES;"
5151
{

0 commit comments

Comments
 (0)