Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e9691bdd
Commit
e9691bdd
authored
Jul 02, 2009
by
Daniel Fischer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge patch for bug#31785
parent
b660e14b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
5 deletions
+12
-5
support-files/mysql.server.sh
support-files/mysql.server.sh
+12
-5
No files found.
support-files/mysql.server.sh
View file @
e9691bdd
...
@@ -358,11 +358,18 @@ case "$mode" in
...
@@ -358,11 +358,18 @@ case "$mode" in
if
test
-s
"
$pid_file
"
if
test
-s
"
$pid_file
"
then
then
mysqlmanager_pid
=
`
cat
$pid_file
`
mysqlmanager_pid
=
`
cat
$pid_file
`
echo
$echo_n
"Shutting down MySQL"
kill
$mysqlmanager_pid
if
(
kill
-0
$mysqlmanager_pid
2>/dev/null
)
# mysqlmanager should remove the pid_file when it exits, so wait for it.
then
wait_for_pid removed
"
$mysqlmanager_pid
"
;
return_value
=
$?
echo
$echo_n
"Shutting down MySQL"
kill
$mysqlmanager_pid
# mysqlmanager should remove the pid_file when it exits, so wait for it.
wait_for_pid removed
"
$mysqlmanager_pid
"
;
return_value
=
$?
else
log_failure_msg
"MySQL manager or server process #
$mysqlmanager_pid
is not running!"
rm
$pid_file
fi
# delete lock for RedHat / SuSE
# delete lock for RedHat / SuSE
if
test
-f
$lock_dir
if
test
-f
$lock_dir
then
then
...
...
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