Force recovery mode mariadb
This commit is contained in:
parent
bec0ca0f55
commit
8e8e612a54
|
@ -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