mysqluserclone(1) - Linux man page

Name

MySQL - manual page for MySQL Utilities mysqluserclone version 1.2.1 - MySQL Workbench Distribution 5.2.47

Synopsis

mysqluserclone --source=user:pass@host:port:socket --destination=user:pass@host:port:socket joe@localhost sam:secret1@localhost

Description

mysqluserclone - clone a MySQL user account to one or more new users

Options

--version
show program's version number and exit
--help
display a help message and exit
--source=SOURCE
connection information for source server in the form: <user>[:<password>]@<host>[:<port>][:<socket>] or <login-path>[:<port>][:<socket>].
--destination=DESTINATION
connection information for destination server in the form: <user>[:<password>]@<host>[:<port>][:<socket>] or <login-path>[:<port>][:<socket>].
-d, --dump
dump GRANT statements for user - does not require a destination
--force
drop the new user if it exists
--include-global-privileges
include privileges that match base_user@% as well as base_user@host
--list
list all users on the source - does not require a destination
-f FORMAT, --format=FORMAT
display the list of users in either grid (default), tab, csv, or vertical format - valid only for --list option
-v, --verbose
control how much information is displayed. e.g., -v = verbose, -vv = more verbose, -vvv = debug
-q, --quiet
turn off all messages for quiet execution.

Copyright

Copyright © 2010, 2013 Oracle and/or its affiliates. All rights reserved. This is a release of dual licensed MySQL Utilities. For the avoidance of doubt, this particular copy of the software is released under the version 2 of the GNU General Public License. MySQL Utilities is brought to you by Oracle.