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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
ba22a7aa
Commit
ba22a7aa
authored
Jun 28, 2004
by
guilhem@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for BUG#4240 "mysql_fix_privilege_tables Does not use --password properly"
Pass password if it is NOT empty. Typo fixed.
parent
9f45c9e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
scripts/mysql_fix_privilege_tables.sh
scripts/mysql_fix_privilege_tables.sh
+2
-2
No files found.
scripts/mysql_fix_privilege_tables.sh
View file @
ba22a7aa
...
@@ -102,7 +102,7 @@ then
...
@@ -102,7 +102,7 @@ then
fi
fi
cmd
=
"
$bindir
/mysql -f --user=
$user
--host=
$host
"
cmd
=
"
$bindir
/mysql -f --user=
$user
--host=
$host
"
if
test
-z
"
$password
"
;
then
if
test
!
-z
"
$password
"
;
then
cmd
=
"
$cmd
--password=
$password
"
cmd
=
"
$cmd
--password=
$password
"
fi
fi
if
test
!
-z
"
$port
"
;
then
if
test
!
-z
"
$port
"
;
then
...
@@ -154,7 +154,7 @@ s_echo ""
...
@@ -154,7 +154,7 @@ s_echo ""
if
test
$verbose
=
1
if
test
$verbose
=
1
then
then
s_echo
"You can safely ignore all 'Duplicate column' and 'Unknown column' errors"
s_echo
"You can safely ignore all 'Duplicate column' and 'Unknown column' errors"
s_echo
"as this just means that your tables
whe
re already up to date."
s_echo
"as this just means that your tables
a
re already up to date."
s_echo
"This script is safe to run even if your tables are already up to date!"
s_echo
"This script is safe to run even if your tables are already up to date!"
s_echo
""
s_echo
""
fi
fi
...
...
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