Unfortunately, we do not have a doc explaining how to achieve that. I am
also not aware of a way to "preseed" the mysql-server package to do what
you want. What you could try to do in order to avoid lost+found is to
make use of a symlink, for instance mount it into /mysql and then create
a symlink
I have arrived to this issue as I have trouble installing mysql with
data on a Logical Volume.
Traditionally I would just mount a Logical Volume on /var/lib/mysql
prior to installing mysql-server. That would setup the database from the
start on the volume.
I am reading this thread and I see that
** Tags added: triage
--
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 th
sounds root regarding mysqld --initialize.
slightly laxer option for
mountpoint -q ${datadir} && cp my.lost_found.cnf /etc/mysql/cnf.d/
to be really prudent you could see if lost+found is empty or contains
only whatever filename extX "recovers" files to.
--
You received this bug notificati
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
t
ignore_db_dirs=lost+found by default maybe?
--
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
** Changed in: mysql-5.7 (Ubuntu)
Assignee: (unassigned) => Lars Tangvald (lars-tangvald)
--
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 w
** Tags added: mysql-alternate-datadir
** Changed in: mysql-5.7 (Ubuntu)
Milestone: None => ubuntu-16.09
--
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 i
It's a limitation of the --initialize option used to create the database that
it's very picky about what can be in datadir. It will ignore anything starting
with a ., but for anything else it will fail (unless specified with
--ignore-db-dir).
That's the reason we assume that if there's anything
Ah cool, thanks for the tip Robie!
--
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 notificat
Thanks, we should fix this. Separately from this though I'd recommend
creating a directory inside your filesystem and using that, because we
have /var/lib/mysql-keyring and /var/lib/mysql-files now and you
probably want those in that filesystem too.
** Changed in: mysql-5.7 (Ubuntu)
Importance:
11 matches
Mail list logo