Part of the problem is that any directory inside datadir will be treated as a 
schema, which could produce some pretty odd results in this case.
While changing mysqld --initialize to ignore this directory would fix the 
failure and be safe, to avoid having it be read as a schema we'd need to add 
the same to the default server config, which I'm a bit more reluctant to do, 
though granted it's not very likely that people will want a schema named 
lost+found :)
As a first step we could add a check to detect the situation (since it does 
seem to be a fairly common use case), and add a warning explaining the issue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1580794

Title:
  mysql-server-5.7 fails to install on box with separate /var/lib/mysql
  partition

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1580794/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to