Difference between revisions of "Talk:DB Variables Configuration"

From SME Server
Jump to navigationJump to search
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Following section to with new para to replace current text
+
There are options that are not documented - not sure how best to add them
  
=== Setting db variables to default values ===
+
e.g. iptables logging
Any db variable that has a default value can be reset to the default by deleting the variable entirely, then re-initializing the default database values as follows:
 
config delprop key prop
 
/etc/e-smith/events/actions/initialize-default-databases
 
  
==== Delete or reset a property value ====
+
Default = most
To delete a property value or reset to empty issue one of the following commands
+
Options - some, all
 
 
To reset to a empty value
 
db accounts setprop key prop <nowiki>''</nowiki>
 
or
 
To delete the property
 
  db accounts delprop key prop
 
 
 
{{Warning box|Database parameters are case sensitive so take great care when typing at the server shell because no error messages are given should you make a typo.}}
 

Latest revision as of 13:39, 17 August 2016

There are options that are not documented - not sure how best to add them

e.g. iptables logging

Default = most Options = - some, all