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
-- 
Ubuntu-devel-discuss mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-devel-discuss

Reply via email to