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
a2a1449c
Commit
a2a1449c
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
e09a6c1a
c25d35bd
Changes
1
Show 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 @
a2a1449c
...
@@ -128,15 +128,28 @@ then
...
@@ -128,15 +128,28 @@ then
else
else
MY_BASEDIR_VERSION
=
@prefix@
MY_BASEDIR_VERSION
=
@prefix@
DATADIR
=
@localstatedir@
DATADIR
=
@localstatedir@
if
test
-z
"
$MYSQL_HOME
"
then
MYSQL_HOME
=
$DATADIR
# Installation in a not common path
fi
ledir
=
@libexecdir@
ledir
=
@libexecdir@
fi
fi
if
test
-z
"
$MYSQL_HOME
"
if
test
-z
"
$MYSQL_HOME
"
then
then
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
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
fi
export
MYSQL_HOME
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