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

specify7 and mysql8 compatibility issues #476

Closed
timo11 opened this issue Sep 7, 2018 · 4 comments
Closed

specify7 and mysql8 compatibility issues #476

timo11 opened this issue Sep 7, 2018 · 4 comments
Labels
1 - Request Improvements or extensions to existing behavior res:fixed (deprecated) Problem has been fixed
Milestone

Comments

@timo11
Copy link
Contributor

timo11 commented Sep 7, 2018

No description provided.

@timo11
Copy link
Contributor Author

timo11 commented Sep 7, 2018

  1. [Solved] Unable to login.
    Error: (2059, "Authentication plugin 'caching_sha2_password' cannot be loaded: ...

https://stackoverflow.com/questions/50469587/django-db-utils-operationalerror-2059-authentication-plugin-caching-sha2-pas

"
Starting with version 8.04 MySQL uses caching_sha2_password as default authentication plugin where previously mysql_native_password has been used (which causes compatibility issues with older services that expect mysql_native_password authentication).

Possible solutions:

Downgrade the MySQL Server to a version below that change or change the authentication plugin (on a user basis)

eg when creating the user:

CREATE USER 'username'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'
"

Creating master user with mysql_native_password made logging in possible.

@timo11
Copy link
Contributor Author

timo11 commented Sep 7, 2018

  1. Error when choosing a value from a combobox: Unknown system variable 'tx_isolation'

Mysql8 has renamed tx_isolation to transaction_isolation.

@benanhalt
Copy link
Contributor

I updated some dependencies for this in 9b0376f

The tx_isolation issue stills seems to be occurring. It appears to come from the SQLalchemy library.

@benanhalt benanhalt added 1 - Request Improvements or extensions to existing behavior res:fixed (deprecated) Problem has been fixed labels Feb 19, 2019
@benanhalt benanhalt added this to the next-release milestone Feb 22, 2019
@tlammer
Copy link

tlammer commented Apr 16, 2019

Since we aren't supporting mysql 8 in Specify six yet, this doesn't need to be tested for now. Except to watch out that it doesn't cause problems with older versions of mysql.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1 - Request Improvements or extensions to existing behavior res:fixed (deprecated) Problem has been fixed
Projects
None yet
Development

No branches or pull requests

3 participants