File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ $STD apt-get install -y \
2323 lsb-release
2424msg_ok " Installed Dependencies"
2525
26- install_mariadb
26+ install_mysql
2727
2828msg_info " Adding PHP8.4 Repository"
2929$STD curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb
@@ -45,9 +45,9 @@ DB_NAME=kimai_db
4545DB_USER=kimai
4646DB_PASS=$( openssl rand -base64 18 | tr -dc ' a-zA-Z0-9' | head -c13)
4747MYSQL_VERSION=$( mysql --version | grep -oP ' Distrib \K[0-9]+\.[0-9]+\.[0-9]+' )
48- mariadb -u root -e " CREATE DATABASE $DB_NAME ;"
49- mariadb -u root -e " CREATE USER '$DB_USER '@'localhost' IDENTIFIED WITH mysql_native_password AS PASSWORD('$DB_PASS ');"
50- mariadb -u root -e " GRANT ALL ON $DB_NAME .* TO '$DB_USER '@'localhost'; FLUSH PRIVILEGES;"
48+ mysql -u root -e " CREATE DATABASE $DB_NAME ;"
49+ mysql -u root -e " CREATE USER '$DB_USER '@'localhost' IDENTIFIED WITH mysql_native_password AS PASSWORD('$DB_PASS ');"
50+ mysql -u root -e " GRANT ALL ON $DB_NAME .* TO '$DB_USER '@'localhost'; FLUSH PRIVILEGES;"
5151{
5252 echo " Kimai-Credentials"
5353 echo " Kimai Database User: $DB_USER "
You can’t perform that action at this time.
0 commit comments