[MDEV-16533] MariaDB can't find tables mysql.user and mysql.servers Created: 2018-06-20 Updated: 2018-07-22 Resolved: 2018-07-22 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Storage Engine - MyISAM |
| Affects Version/s: | 10.2.15 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Glen Davis | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | crash, need_feedback | ||
| Environment: |
Fedora 28 |
||
| Attachments: |
|
| Description |
|
I've been running MariaDB for some time now without problem. I did a minor version upgrade from 10.2.14 to 10.2.15 and now it refuses to start. If I'm reading the error logs correctly, it can't find the tables mysql.user and mysql.servers. I have confirmed that the data files exist, are not corrupted, and they appear to have the proper permissions. This is the dump from the error log. The references to the privilege tables are near the end.
This the systemd output:
I've run myisamchk on all the tables in the data directory, and I've uninstalled and reinstalled the mariadb-server package. As far as I can tell it hasn't made a difference. |
| Comments |
| Comment by Alice Sherepa [ 2018-06-20 ] | ||||||||||
|
Could you please upload full error log. Thanks! | ||||||||||
| Comment by Elena Stepanova [ 2018-06-20 ] | ||||||||||
|
Also please check ownership and privileges on <datadir>/mysql/servers.*, <datadir>/mysql/plugin.* and <datadir>/mysql/user.*. | ||||||||||
| Comment by Glen Davis [ 2018-06-21 ] | ||||||||||
|
Alice: The error log I uploaded is from a complete (attempted) start of the server. I moved the old log, tried launching the server and this error log was the result. Is there something more you want? Like the system error log? Elena: ownership and privileges seem to be okay. This is what
prints:
| ||||||||||
| Comment by Elena Stepanova [ 2018-06-21 ] | ||||||||||
|
For Fedora, whenever the question of access pops up, SELinux is the main suspect. Also, it's weird why permissions on servers.MY* would be different. File sizes look okay. | ||||||||||
| Comment by Glen Davis [ 2018-06-21 ] | ||||||||||
|
I've uploaded four of them - I get an error when I try to upload the empty MYD files.
| ||||||||||
| Comment by Elena Stepanova [ 2018-06-21 ] | ||||||||||
|
These four work just fine for me. You can pack them all (including empty ones) into one archive, although I doubt that the problem is in empty ones. |