Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wtlinux_server_setup
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
w4t
wtlinux_server_setup
Commits
4d93ff62
Commit
4d93ff62
authored
Mar 12, 2025
by
w4t
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wtserver 0.36
parent
1f6a89c2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
install_mysql.sh
distros/debian12/install_mysql.sh
+7
-3
No files found.
distros/debian12/install_mysql.sh
View file @
4d93ff62
...
...
@@ -3,7 +3,7 @@
# Install and configure SQL Server (MySQL or MariaDB)
#---------------------------------------------------------------------
InstallSQLServer
()
{
local
START_TIME
=
$SECONDS
START_TIME
=
$(
date
+%s.%N
)
if
[
$CFG_SQLSERVER
==
"MySQL"
]
;
then
echo
-n
-e
"
$IDENTATION_LVL_0
${
BWhite
}
Installing MySQL
${
NC
}
\n
"
...
...
@@ -254,6 +254,10 @@ EOF
else
echo
-n
"
${
red
}
No database server installation selected...
${
NC
}
"
fi
MeasureTimeDuration
$START_TIME
END_TIME
=
$(
date
+%s.%N
)
ELAPSED_TIME_SEC
=
$(
echo
"
$END_TIME
-
$START_TIME
"
| bc
)
ELAPSED_TIME_MIN
=
$(
echo
"scale=2;
$ELAPSED_TIME_SEC
/ 60"
| bc
)
echo
"Time has passed:
$ELAPSED_TIME_MIN
minutes"
#MeasureTimeDuration $START_TIME
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment