[MDEV-18768] Automate upgrades from MySQL 5.7 with auth_socket to MariaDB with our unix_socket Created: 2019-02-28 Updated: 2020-04-14 Resolved: 2020-04-14 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Server |
| Affects Version/s: | 10.4.4 |
| Fix Version/s: | 10.4.13, 10.5.3 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Otto Kekäläinen | Assignee: | Otto Kekäläinen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||||||
| Description |
|
I haven't checked what upstream MySQL 5.7 does, but since we implemented unix socket authentication in Debian MariaDB 10.0 the maintainers of MySQL 5.7 in Debian followed and also implemented their own version. However these versions are slightly different, have different plugin names etc. Fixing this bug would solve also downstream Debian MySQL 5.7 -> MariaDB 10.x upgrades since I would backport the upstream mariadb_upgrade improvements myself. See current failure at e.g. https://salsa.debian.org/mariadb-team/mariadb-10.3/-/jobs/135254
$ echo 'SHOW DATABASES;' | mariadb |
| Comments |
| Comment by Otto Kekäläinen [ 2019-02-28 ] |
|
I think I can fix this myself in upstream. I'll do similar changes to upgrade scripts as in https://github.com/mariadb/server/commit/7c2d3c9b46a51fcde9e014ed41d5eb6b4fac3b85 and test is with something similar to https://github.com/MariaDB/server/blob/10.2/mysql-test/r/no_password_column-mdev-11170.result Currently testing with https://salsa.debian.org/mariadb-team/mariadb-10.3/commit/b02a9baf3b6a8b343a085454bd706fa6f36cb1d0 |
| Comment by Otto Kekäläinen [ 2019-03-31 ] |
|
Fixed in https://salsa.debian.org/mariadb-team/mariadb-10.3/commits/gitlab-ci-mysql-upgrade - will soon submit upstream |
| Comment by Otto Kekäläinen [ 2020-03-14 ] |
|
Status: PR https://github.com/MariaDB/server/pull/1453 still pending for final review. |
| Comment by Otto Kekäläinen [ 2020-04-14 ] |
|
PR was merged in https://github.com/MariaDB/server/commit/c1bdf62452139e9310d3234266802748ba4c74b8 |