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
8acb3a27
Commit
8acb3a27
authored
Feb 18, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--help option added to mysql_upgrade script
scripts/mysql_upgrade.sh: --help option implemented
parent
2b1e6bc3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
scripts/mysql_upgrade.sh
scripts/mysql_upgrade.sh
+18
-0
No files found.
scripts/mysql_upgrade.sh
View file @
8acb3a27
...
...
@@ -39,6 +39,7 @@ parse_arguments() {
--ldata
=
*
|
--data
=
*
|
--datadir
=
*
)
DATADIR
=
`
echo
"
$arg
"
|
sed
-e
's/^[^=]*=//'
`
;;
--force
)
force
=
1
;;
--verbose
)
verbose
=
1
;;
--help
)
help_option
=
1
;;
*
)
if
test
-n
"
$pick_args
"
then
...
...
@@ -84,10 +85,27 @@ bindir=
MY_BASEDIR_VERSION
=
verbose
=
0
force
=
0
help_option
=
0
parse_arguments
`
$print_defaults
$defaults
mysqld mysql_upgrade
`
parse_arguments PICK-ARGS-FROM-ARGV
"
$@
"
if
test
$help_option
=
1
then
echo
"MySQL utility script to upgrade database to the current server version"
echo
""
echo
"It takes the following arguments:"
echo
" --basedir Specifies the directory where MySQL is installed"
echo
" --user user for database login if not current user"
echo
" --datadir data directory"
echo
" --force keep process ignoring errors"
echo
" --verbose give more output about the process"
echo
" --help Show this help message"
echo
""
exit
0
fi
#
# Try to find where binaries are installed
#
...
...
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