-
Notifications
You must be signed in to change notification settings - Fork 43
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
dj.set_password does not work in Frank Lab production database (MySQL 8) #639
Comments
My guess is that they are much more likely to get to this if it is a pull request, so I just wanted to note that in case someone has time to fork datajoint and change the query to (I believe) |
@CBroz1 Your thoughts on how to fix this would be greatly appreciated; this seems like a high priority to me. |
The edits to DJ seem pretty straightforward, checking version before sending the command. I'll mention it in their slack to get it on their radar. I have a busy week ahead with the move, but I can tackle a PR thereafter if needed |
I took care of it in datajoint/datajoint-python#1106 . It was a fun little challenge to set up the tests right. Hopefully it is merged soon. In the meantime, we can run |
This has been merged into datajoint so I am closing. If this becomes an issue again, please reoopen. |
Describe the bug
dj.set_password
runs the MySQL querySET PASSWORD = PASSWORD('new_password')
(source code). This used to work, but I think the MySQL database was recently updated to version 8.0.34, and thePASSWORD
function in MySQL has been removed in MySQL version 8.I'll report this in DataJoint but want to log it here as it appears to be an incompatibility between the Frank Lab database MySQL version and the MySQL version expected by DataJoint.
Note that
dj.set_password
is also called inconfig/dj_config.py
The text was updated successfully, but these errors were encountered: