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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
837b5c98
Commit
837b5c98
authored
Mar 21, 2007
by
mtaylor@qualinost.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#27367 mysql.server should be LSB init script compliant
parent
bd0b76e2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
support-files/mysql.server.sh
support-files/mysql.server.sh
+11
-2
No files found.
support-files/mysql.server.sh
View file @
837b5c98
...
...
@@ -371,7 +371,7 @@ case "$mode" in
;;
'status'
)
# First, check to see if pid file exists
if
[
-s
"
$server_pid_file
"
]
;
then
if
test
-s
"
$server_pid_file
"
;
then
read
mysqld_pid <
$server_pid_file
if
kill
-0
$mysqld_pid
2>/dev/null
;
then
log_success_msg
"MySQL running (
$mysqld_pid
)"
...
...
@@ -383,7 +383,16 @@ case "$mode" in
else
# Try to find appropriate mysqld process
mysqld_pid
=
`
pidof
$sbindir
/mysqld
`
if
[
-z
$mysqld_pid
]
;
then
if
test
-z
$mysqld_pid
;
then
if
test
"
$use_mysqld_safe
"
=
"0"
;
then
lockfile
=
/var/lock/subsys/mysqlmanager
else
lockfile
=
/var/lock/subsys/mysql
fi
if
test
-f
$lockfile
;
then
log_failure_msg
"MySQL is not running, but lock exists"
exit
2
fi
log_failure_msg
"MySQL is not running"
exit
3
else
...
...
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