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

It is not executed in mysql 8.0.12. #20

Open
yuta-hayashi opened this issue Aug 15, 2018 · 2 comments
Open

It is not executed in mysql 8.0.12. #20

yuta-hayashi opened this issue Aug 15, 2018 · 2 comments

Comments

@yuta-hayashi
Copy link

When trying to use this tool in Docker's mysql: latest (8.0.12), the error INFO [0000] Can not set time zone to UTC: this authentication plugin is not supported is displayed and can not be executed.

However, it works in Docker's mysql:5.6 case.
Also, in 8.0.12 the query SET @@ session.time_zone = "+00: 00"; could be executed directly.

Of course, the database schema is the same.
What is the cause?

@vchau
Copy link

vchau commented Sep 25, 2018

I'm seeing the same issue when i try to use this against mysql 5.6 on AWS RDS

@guriandoro
Copy link
Contributor

This is due to the new 8.0 default for authentication plugin: caching_sha2_password

A workaround is to create a user with old auth plugin:

create user new_user@localhost identified with mysql_native_password by 'secret';
grant ... on *.* to new_user@localhost;

Then use this new user with mysql_random_data_load, and it should work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants