[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2020-09-18 Thread Lucas Kanashiro
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

[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2020-09-14 Thread Rafael
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

[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2017-04-24 Thread Robie Basak
** 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

[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2017-03-29 Thread Daniel Black
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

[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2017-03-27 Thread Lars Tangvald
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

[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2017-03-27 Thread Daniel Black
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

[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2016-10-03 Thread Lars Tangvald
** 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

[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2016-08-05 Thread Robie Basak
** 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

[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2016-05-26 Thread Lars Tangvald
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

[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2016-05-12 Thread Adrian Bridgett
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

[Bug 1580794] Re: mysql-server-5.7 fails to install on box with separate /var/lib/mysql partition

2016-05-12 Thread Robie Basak
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)