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
4ad004c2
Commit
4ad004c2
authored
Apr 09, 2013
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backporting patch for bug#15852074.
parent
6777c3fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
support-files/mysql.server.sh
support-files/mysql.server.sh
+7
-1
No files found.
support-files/mysql.server.sh
View file @
4ad004c2
...
@@ -416,7 +416,13 @@ case "$mode" in
...
@@ -416,7 +416,13 @@ case "$mode" in
else
else
# Try to find appropriate mysqld process
# Try to find appropriate mysqld process
mysqld_pid
=
`
pidof
$libexecdir
/mysqld
`
mysqld_pid
=
`
pidof
$libexecdir
/mysqld
`
if
test
-z
$mysqld_pid
;
then
# test if multiple pids exist
pid_count
=
`
echo
$mysqld_pid
|
wc
-w
`
if
test
$pid_count
-gt
1
;
then
log_failure_msg
"Multiple MySQL running but PID file could not be found (
$mysqld_pid
)"
exit
5
elif
test
-z
$mysqld_pid
;
then
if
test
"
$use_mysqld_safe
"
=
"0"
;
then
if
test
"
$use_mysqld_safe
"
=
"0"
;
then
lockfile
=
/var/lock/subsys/mysqlmanager
lockfile
=
/var/lock/subsys/mysqlmanager
else
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