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
a00749a1
Commit
a00749a1
authored
Feb 23, 2005
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.0
into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
parents
2d652cbe
8a0296ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
5 deletions
+18
-5
scripts/mysqld_safe.sh
scripts/mysqld_safe.sh
+18
-5
No files found.
scripts/mysqld_safe.sh
View file @
a00749a1
...
...
@@ -128,15 +128,28 @@ then
else
MY_BASEDIR_VERSION
=
@prefix@
DATADIR
=
@localstatedir@
if
test
-z
"
$MYSQL_HOME
"
then
MYSQL_HOME
=
$DATADIR
# Installation in a not common path
fi
ledir
=
@libexecdir@
fi
if
test
-z
"
$MYSQL_HOME
"
then
MYSQL_HOME
=
$MY_BASEDIR_VERSION
if
test
-r
"
$MY_BASEDIR_VERSION
/my.cnf"
&&
test
-r
"
$DATADIR
/my.cnf"
then
echo
"WARNING: Found two instances of my.cnf -"
echo
"
$MY_BASEDIR_VERSION
/my.cnf and"
echo
"
$DATADIR
/my.cnf"
echo
"IGNORING
$DATADIR
/my.cnf"
echo
MYSQL_HOME
=
$MY_BASEDIR_VERSION
elif
test
-r
"
$DATADIR
/my.cnf"
then
echo
"WARNING: Found
$DATADIR
/my.cnf"
echo
"Datadir is deprecated place for my.cnf, please move it to
$MY_BASEDIR_VERSION
"
echo
MYSQL_HOME
=
$DATADIR
else
MYSQL_HOME
=
$MY_BASEDIR_VERSION
fi
fi
export
MYSQL_HOME
...
...
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