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
b350990a
Commit
b350990a
authored
Apr 09, 2013
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Plain Diff
local merge.
parents
90738111
4ad004c2
Changes
1
Show 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 @
b350990a
...
@@ -360,7 +360,13 @@ case "$mode" in
...
@@ -360,7 +360,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
-f
"
$lock_file_path
"
;
then
if
test
-f
"
$lock_file_path
"
;
then
log_failure_msg
"MySQL is not running, but lock file (
$lock_file_path
) exists"
log_failure_msg
"MySQL is not running, but lock file (
$lock_file_path
) exists"
exit
2
exit
2
...
...
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