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
373e280e
Commit
373e280e
authored
Dec 15, 2006
by
mtaylor@qualinost.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support /etc/mysql/my.cnf in mysqld_multi as well.
parent
57baef95
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
scripts/mysqld_multi.sh
scripts/mysqld_multi.sh
+9
-1
No files found.
scripts/mysqld_multi.sh
View file @
373e280e
...
...
@@ -437,6 +437,14 @@ sub find_groups
{
$data
[
$i
] =
$line
;
}
if (-f "
/etc/mysql/my.cnf
" && -r "
/etc/mysql/my.cnf
")
{
open(MY_CNF, "
</etc/mysql/my.cnf
") && (@tmp=<MY_CNF>) && close(MY_CNF);
}
for (; (
$line
= shift @tmp);
$i
++)
{
$data
[
$i
] =
$line
;
}
if (-f "
$homedir
/.my.cnf
" && -r "
$homedir
/.my.cnf
")
{
open(MY_CNF, "
<
$homedir
/.my.cnf
") && (@tmp=<MY_CNF>) && close(MY_CNF);
...
...
@@ -446,7 +454,7 @@ sub find_groups
$data
[
$i
] =
$line
;
}
}
chop @data;
cho
m
p @data;
# Make a list of the wanted group ids
if (defined(
$raw_gids
))
{
...
...
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