[MDEV-8064] ignore-db-dir=lost+found not working Created: 2015-04-28 Updated: 2020-03-16 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Affects Version/s: | 10.0.17 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Minor |
| Reporter: | Ainsley | Assignee: | Elena Stepanova |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
Have ignore-db-dir = 'lost+found' in my.cnf
But lost+found is not hidden show databases like "lost+found";
Worked correctly in version 5.5.38 |
| Comments |
| Comment by Elena Stepanova [ 2015-04-28 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
Hi, Please note that ignore_db_dirs refer to the directory name, as opposed to the database name, and the difference is important here. From your output, it looks like you previously ran If you look into your datadir, you'll see that the existing directory is not lost+found, it's something like lost@002bfound. It gets converted back when you run show databases. It works the same way in 5.5.38 and 10.0, see output from 5.5.38 below.
| |||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Ainsley [ 2015-04-29 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
Thank you, you were correct. | |||||||||||||||||||||||||||||||||||||||||||||||
| Comment by Elena Stepanova [ 2015-04-29 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
In this case it works as expected, closing a 'Not a bug'. | |||||||||||||||||||||||||||||||||||||||||||||||
| Comment by drupal_user [ 2015-12-21 ] | |||||||||||||||||||||||||||||||||||||||||||||||
|
There seems to be a bug, though. I mounted /var/lib/mysql on a separate partition before installing By default, the filesystem has a directory at its root named When i install mysql-server, it mangles this directory (which doesn't ls -l /var/lib/mysql/
Note the wrong permission lost@002bfound directory. It also now has a I'm not sure how to repair this? What should I do with the db.opt file? I already looked at: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608938 |