Force recovery mode mariadb
This commit is contained in:
parent
433c5a1356
commit
84ad19e462
|
@ -71,6 +71,11 @@
|
||||||
package = pkgs.mariadb_110;
|
package = pkgs.mariadb_110;
|
||||||
|
|
||||||
#Directory for the database is /var/lib/mysql
|
#Directory for the database is /var/lib/mysql
|
||||||
|
settings = {
|
||||||
|
mysqld = {
|
||||||
|
innodb_force_recovery = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# Ensure the database, user, and permissions always exist
|
# Ensure the database, user, and permissions always exist
|
||||||
ensureDatabases = ["NC"];
|
ensureDatabases = ["NC"];
|
||||||
|
|
Loading…
Reference in a new issue