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
0902118b
Commit
0902118b
authored
Nov 25, 2002
by
lenz@mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge lgrimmer@work.mysql.com:/home/bk/mysql-4.0
into mysql.com:/space/my/mysql-4.0
parents
05c732e7
549eb174
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
support-files/mysql.server.sh
support-files/mysql.server.sh
+7
-7
No files found.
support-files/mysql.server.sh
View file @
0902118b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
# Copyright Abandoned 1996 TCX DataKonsult AB & Monty Program KB & Detron HB
# This file is public domain and comes with NO WARRANTY of any kind
# This file is public domain and comes with NO WARRANTY of any kind
# My
sql
daemon start/stop script.
# My
SQL
daemon start/stop script.
# Usually this is put in /etc/init.d (at least on machines SYSV R4 based
# Usually this is put in /etc/init.d (at least on machines SYSV R4 based
# systems) and linked to /etc/rc3.d/S99mysql and /etc/rc0.d/K01mysql.
# systems) and linked to /etc/rc3.d/S99mysql and /etc/rc0.d/K01mysql.
...
@@ -20,17 +20,17 @@
...
@@ -20,17 +20,17 @@
# Required-Stop: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Default-Start: 3 5
# Default-Start: 3 5
# Default-Stop: 3 5
# Default-Stop: 3 5
# Short-Description: start and stop MyS
LQ
# Short-Description: start and stop MyS
QL
# Description: MySQL is a very fast and reliable SQL database engine.
# Description: MySQL is a very fast and reliable SQL database engine.
### END INIT INFO
### END INIT INFO
# If you install MySQL on some other places than @prefix@, then you
# If you install MySQL on some other places than @prefix@, then you
# have to do one of the following thing for this script to work:
# have to do one of the following thing
s
for this script to work:
#
#
# - Run this script from the MySQL installation directory
# - Run this script from
within
the MySQL installation directory
# - Create a /etc/my.cnf file with the following information:
# - Create a /etc/my.cnf file with the following information:
# [mysqld]
# [mysqld]
# basedir=
path-to-mysql-installation-directory
# basedir=
<path-to-mysql-installation-directory>
# - Add the above to any other configuration file (for example ~/.my.ini)
# - Add the above to any other configuration file (for example ~/.my.ini)
# and copy my_print_defaults to /usr/bin
# and copy my_print_defaults to /usr/bin
# - Add the path to the mysql-installation-directory to the basedir variable
# - Add the path to the mysql-installation-directory to the basedir variable
...
@@ -79,7 +79,7 @@ parse_arguments() {
...
@@ -79,7 +79,7 @@ parse_arguments() {
done
done
}
}
# Get arguments from the my.cnf file, groups [mysqld] and [mysql
_
server]
# Get arguments from the my.cnf file, groups [mysqld] and [mysql
.
server]
if
test
-x
./bin/my_print_defaults
if
test
-x
./bin/my_print_defaults
then
then
print_defaults
=
"./bin/my_print_defaults"
print_defaults
=
"./bin/my_print_defaults"
...
@@ -117,7 +117,7 @@ else
...
@@ -117,7 +117,7 @@ else
test
-z
"
$print_defaults
"
&&
print_defaults
=
"my_print_defaults"
test
-z
"
$print_defaults
"
&&
print_defaults
=
"my_print_defaults"
fi
fi
parse_arguments
`
$print_defaults
$defaults
mysqld mysql
_
server
`
parse_arguments
`
$print_defaults
$defaults
mysqld mysql
.
server
`
# Safeguard (relative paths, core dumps..)
# Safeguard (relative paths, core dumps..)
cd
$basedir
cd
$basedir
...
...
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