3.2.3.3. Discussion

In the above example, we see the use of the mysqluserclone utility to clone the joe user to two new user accounts.

Notice we used the --source option to connect to the original server and --destination for the same server.

After that, we simply list the user we want to clone and the new users we want to create. In this case we use the format username:password@host to specify the user account name, password (optional), and host.

When the utility finishes, you will have two new user accounts that have the same privileges as the original user, joe@localhost.


User Comments
Sign Up Login You must be logged in to post a comment.