[MDEV-24566] mysql_upgrade failed with "('mariadb.sys'@'localhost') does not exist" and mariadb 10.4/10.5 on docker Created: 2021-01-11 Updated: 2021-04-19 Due: 2021-01-26 Resolved: 2021-01-23 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Upgrades |
| Affects Version/s: | 10.4.17, 10.5.8 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Nilnandan Joshi | Assignee: | Nilnandan Joshi |
| Resolution: | Fixed | Votes: | 2 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
With fresh installation of MariaDB 10.4.17 on docker, when we run mysql_upgrade, its getting failed with below error.
You can reproduce it on docker with simple steps. Step 1: docker run -d --name marianil -eMARIADB_ROOT_PASSWORD=nil2020 -P mariadb/server:10.4 Step 4: docker exec -i marianil mysql_upgrade --user=root --password=nil2020 |
| Comments |
| Comment by Sergei Golubchik [ 2021-01-11 ] | |||||||||||||||||||
|
what docker images do you use? | |||||||||||||||||||
| Comment by Christian Bulitta [ 2021-01-11 ] | |||||||||||||||||||
|
Bug was originally found by me.
maridb 10.2 and 10.3 are good, i.e. do not show this bug:
| |||||||||||||||||||
| Comment by Christian Bulitta [ 2021-01-11 ] | |||||||||||||||||||
|
Just found out a potential root cause / even more serious bug with the docker image of mariadb/server:10.4 and mariadb/server:10.5: Steps to reproduce:
| |||||||||||||||||||
| Comment by Christian Bulitta [ 2021-01-11 ] | |||||||||||||||||||
|
Another remark: | |||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-01-22 ] | |||||||||||||||||||
|
pushed the fix for 10.4 and 10.5 | |||||||||||||||||||
| Comment by Alexey Bychko (Inactive) [ 2021-01-22 ] | |||||||||||||||||||
|
niljoshi please test 10.4 and 10.5 reported | |||||||||||||||||||
| Comment by Christian Bulitta [ 2021-01-22 ] | |||||||||||||||||||
|
Thanks so much for fixing this! | |||||||||||||||||||
| Comment by Nilnandan Joshi [ 2021-01-23 ] | |||||||||||||||||||
|
It is fixed. |