[MXS-341] MaxScale won't work on MySQL 5.7 due to missing password column in mysql.user table Created: 2015-08-29  Updated: 2017-12-01  Resolved: 2015-11-12

Status: Closed
Project: MariaDB MaxScale
Component/s: Core
Affects Version/s: 1.2.1
Fix Version/s: 1.3.0

Type: New Feature Priority: Major
Reporter: Simon J Mudd Assignee: markus makela
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Duplicate
duplicates MXS-288 Error on login for Mysql >= 5.7.6 Closed

 Description   

While MySQL 5.7 is not GA (and therefore officially released yet) it is expected to come out in the next couple of months. The current release is marked as rc "release candidate" which seems to indicate this.

One of the changes in MySQL 5.7 are grant privileges and related to that are changes to the mysql.user table. The password column has been removed and "replaced" by the authentication_string column.

Given the MaxScale code currently explicitly looks at the password column any attempt to do this on a MySQL 5.7 server is going to fail.

This JIRA ticket is really to record this issue so it can be dealt with in due course and before 5.7 goes GA when this will affect users of MaxScale.

This improvement request is to adjust MaxScale so it will work with MySQL 5.7.



 Comments   
Comment by Simon J Mudd [ 2015-08-29 ]

As far as I can tell this is related to code in MaxScale/server/core/dbusers.c.

Comment by Simon J Mudd [ 2015-08-29 ]

I notice you have as priorities: Minor and Major (amongst others).
I don't think this is a minor issue as soon it will prevent you supporting MySQL 5.7, but it's obviously not a major one. Perhaps you need an extra priority level somewhere in between, though I guess this will be prioritised as you see fit.

Comment by markus makela [ 2015-11-12 ]

MaxScale now supports the 5.7 layout of the mysql.user table.

Generated at Thu Feb 08 03:58:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.