A first step would be to give a more helpful error message than «It didn't work». Running mysqld --verbose --help 2>&1 > /dev/null can let us detect errors without starting up the database fully:
lars@lars-xenial2:~/git/mysql-5.7$ mysqld --verbose --help 2>&1 > /dev/null 2016-04-15T05:19:25.553086Z 0 [ERROR] unknown variable 'myisam-recover=BACKUP' 2016-04-15T05:19:25.555137Z 0 [ERROR] Aborting
So if that command fails we can abort early and pass on the error
A first step would be to give a more helpful error message than «It didn't work».
Running mysqld --verbose --help 2>&1 > /dev/null can let us detect errors without starting up the database fully:
lars@lars- xenial2: ~/git/mysql- 5.7$ mysqld --verbose --help 2>&1 > /dev/null 15T05:19: 25.553086Z 0 [ERROR] unknown variable 'myisam- recover= BACKUP' 15T05:19: 25.555137Z 0 [ERROR] Aborting
2016-04-
2016-04-
So if that command fails we can abort early and pass on the error