Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL numeric password breaks pg_chameleon #31

Closed
lifeboy opened this issue Oct 15, 2017 · 0 comments
Closed

MySQL numeric password breaks pg_chameleon #31

lifeboy opened this issue Oct 15, 2017 · 0 comments

Comments

@lifeboy
Copy link

lifeboy commented Oct 15, 2017

When using a numeric password in the config file, a python error "AttributeError: 'int' object has no attribute 'encode'" occurs when running ./chameleon.py create_schema.

mysql_conn:
    host: hout1
    port: 3306
    user: mysql_rep
    passwd: 123456

A workaround is to enclose the password with double quotes -> "".

    passwd: "123456"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Development

No branches or pull requests

2 participants