You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
Hi,
This is a follow up to BUG#21653352 and its corresponding fix (commit). The fix is not complete, since line 690 still relies on single quotes and does not accept the masked ''<secret>" string (see original commit).
I'm encountering the issue when trying to use mysqluserclone:
ARNING: Using a password on the command line interface can be insecure.
# Source on localhost: ... connected.
# Cloning 1 users...
# Cloning peter@% to user peter2:cat@%
CREATE USER 'peter3'@'%' IDENTIFIED BY 'secret'
Traceback (most recent call last):
File "/home/swozny/prt/prt/venv/bin/mysqluserclone", line 199, in <module>
new_user_list, options)
File "/home/swozny/prt/prt/venv/local/lib/python2.7/site-packages/mysql/utilities/command/userclone.py", line 216, in clone_user
user_source.clone(new_user, destination, global_privs)
File "/home/swozny/prt/prt/venv/local/lib/python2.7/site-packages/mysql/utilities/common/user.py", line 690, in clone
end = grant.index("'", start + len(search_str) + 2) + 2
ValueError: substring not found
The text was updated successfully, but these errors were encountered:
arpheno
pushed a commit
to arpheno/mysql-utilities
that referenced
this issue
Apr 16, 2018
Hi,
This is a follow up to BUG#21653352 and its corresponding fix (commit). The fix is not complete, since line 690 still relies on single quotes and does not accept the masked ''<secret>" string (see original commit).
I'm encountering the issue when trying to use
mysqluserclone
:creates
The text was updated successfully, but these errors were encountered: