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
49aac4ba
Commit
49aac4ba
authored
Oct 09, 2004
by
jani@a193-229-222-2.elisa-laajakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added possibility to use [GNR...] optional argument for
mysqld_multi via mysqld_multi.server.sh
parent
26e34093
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
12 deletions
+15
-12
support-files/mysqld_multi.server.sh
support-files/mysqld_multi.server.sh
+15
-12
No files found.
support-files/mysqld_multi.server.sh
View file @
49aac4ba
#!
/bin/sh
#!/bin/sh
#
# A simple startup script for mysqld_multi by Tim Smith and Jani Tolonen.
# This script assumes that my.cnf file exists either in /etc/my.cnf or
...
...
@@ -7,30 +7,33 @@
#
# This script can be used as /etc/init.d/mysql.server
#
# Version 1.0
#
basedir
=
/usr/local/mysql
bindir
=
/usr/local/mysql/bin
if
test
-x
$bindir
/mysqld_multi
then
mysqld_multi
=
"
$bindir
/mysqld_multi"
;
mysqld_multi
=
"
$bindir
/mysqld_multi"
;
else
echo
"Can't execute
$bindir
/mysqld_multi from dir
$basedir
"
echo
"Can't execute
$bindir
/mysqld_multi from dir
$basedir
"
;
exit
;
fi
case
"
$1
"
in
start
)
"
$mysqld_multi
"
start
'start'
)
"
$mysqld_multi
"
start
$2
;;
stop
)
"
$mysqld_multi
"
stop
'stop'
)
"
$mysqld_multi
"
stop
$2
;;
report
)
"
$mysqld_multi
"
report
'report'
)
"
$mysqld_multi
"
report
$2
;;
restart
)
"
$mysqld_multi
"
stop
"
$mysqld_multi
"
start
'restart'
)
"
$mysqld_multi
"
stop
$2
"
$mysqld_multi
"
start
$2
;;
*
)
echo
"Usage:
$0
{start|stop|report|restart}"
>
&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