mysql-server-5.7 installation fail
Anton Ryabkov
anton.ryabkov at gmail.com
Tue Mar 21 02:36:36 UTC 2017
Hello,
I've had an issue with mysql-server-5.7 package clean installation on
"Ubuntu 16.04.2 LTS".
I have own partition (ext4) for MySQL data directory (/var/lib/mysql). But
when partition was created, the system create directory "lost+found" in the
/var/lib/mysql for system requirements.
After than I try to install mysql-server-5.7. After unpack mysql-server-5.7
package system try to start It, but failed. The reason of fail is - MySQL
try to read database from directory "lost+found", but can't.
To fix this issue - add line in the section [mysqld], file
/etc/mysql/mysql.conf.d/mysqld.cnf:
ignore_db_dir=lost+found
I have a lot of servers, and every time I need fix MySQL config after
installation and reconfigure MySQL package.
Could you add this line to default mysqld.cnf?
System settings:
Ubuntu 16.04.2 LTS
Package: mysql-server-5.7
Version: 5.7.17-0ubuntu0.16.04.1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel-discuss/attachments/20170321/26b6ab7e/attachment.html>
More information about the Ubuntu-devel-discuss
mailing list