Force recovery mode mariadb
This commit is contained in:
		
							parent
							
								
									bec0ca0f55
								
							
						
					
					
						commit
						8e8e612a54
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -71,6 +71,11 @@
 | 
			
		|||
    package = pkgs.mariadb_110;
 | 
			
		||||
 | 
			
		||||
    #Directory for the database is /var/lib/mysql
 | 
			
		||||
    settings = {
 | 
			
		||||
      mysqld = {
 | 
			
		||||
        innodb_force_recovery = true;
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    # Ensure the database, user, and permissions always exist
 | 
			
		||||
    ensureDatabases = ["NC"];
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue