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
971124a7
Commit
971124a7
authored
Mar 20, 2007
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge qualinost.(none):/home/mtaylor/src/mysql-5.0-init
into qualinost.(none):/home/mtaylor/src/mysql-5.0-maint
parents
da8e832a
105310c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
support-files/mysql.server.sh
support-files/mysql.server.sh
+9
-1
No files found.
support-files/mysql.server.sh
View file @
971124a7
...
@@ -46,6 +46,13 @@
...
@@ -46,6 +46,13 @@
basedir
=
basedir
=
datadir
=
datadir
=
# Default value, in seconds, afterwhich the script should timeout waiting
# for server start.
# Value here is overriden by value in my.cnf.
# 0 means don't wait at all
# Negative numbers mean to wait indefinitely
service_startup_timeout
=
900
# The following variables are only set for letting mysql.server find things.
# The following variables are only set for letting mysql.server find things.
# Set some defaults
# Set some defaults
...
@@ -126,6 +133,7 @@ parse_server_arguments() {
...
@@ -126,6 +133,7 @@ parse_server_arguments() {
;;
;;
--user
=
*
)
user
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--user
=
*
)
user
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--pid-file
=
*
)
server_pid_file
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--pid-file
=
*
)
server_pid_file
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--service-startup-timeout
=
*
)
service_startup_timeout
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--use-mysqld_safe
)
use_mysqld_safe
=
1
;;
--use-mysqld_safe
)
use_mysqld_safe
=
1
;;
--use-manager
)
use_mysqld_safe
=
0
;;
--use-manager
)
use_mysqld_safe
=
0
;;
esac
esac
...
@@ -143,7 +151,7 @@ parse_manager_arguments() {
...
@@ -143,7 +151,7 @@ parse_manager_arguments() {
wait_for_pid
()
{
wait_for_pid
()
{
i
=
0
i
=
0
while
test
$i
-
lt
900
;
do
while
test
$i
-
ne
$service_startup_timeout
;
do
sleep
1
sleep
1
case
"
$1
"
in
case
"
$1
"
in
'created'
)
'created'
)
...
...
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