Difference between revisions of "Talk:DB Variables Configuration"

From SME Server
Jump to navigationJump to search
(Add example of deteing or resting property value Bug 7348)
Line 1: Line 1:
I think you should use normal case for your headers, all capitals is considered shouting on the internet and is generally considered rude behaviour. On top of that headers are already formatted in a bigger and bolder font to make them stand out in the text. [[User:Cactus|Cactus]] 12:44, 30 March 2007 (EDT)
+
Following section to with new para to replace current text
  
Furthermore I thin it is a great thing that you started docuementing the database variables, but it would be nice if you did encourage people to help you and add content to make it even completer in stead of trying to keep them away. The whole idea behind a wiki is a collobarative event to get the best and most complete content. [[User:Cactus|Cactus]] 12:47, 30 March 2007 (EDT)
+
=== Setting db variables to default values ===
 +
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
  
Hello Catus.
+
==== Delete or reset a property value ====
Yes, I want people to add and increase this documentation about SME VARS.You are welcome to modify and add information.
 
Thank for the tips.
 
Normando Hall [[User:PicsOne|PicsOne]]
 
  
As you might have noticed, I have taken the liberty already :-) [[User:Cactus|Cactus]] 06:16, 31 March 2007 (EDT)
+
To delete a property vale or reset to null issue either of the following commands
  
Yes :-). I add you to the credits. Feel free to continue this howto as you want. Thanks.
+
db accounts setprop key prop <nowiki>''</nowiki>
PicsOne
+
or
 +
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.}}
== ToDo ==
 
 
 
TCPPorts
 
UDPPorts
 
[[User:William|William_Syd]] 00:36, 20 July 2007 (EDT)
 
:Done, but needs review maybe --[[User:Ente|Ente]] 12:20, 30 June 2008 (MDT)
 
 
 
PPTPIP
 
should be documented here, but I don't know where
 
 
 
PeerPort
 
create a smtp-auth-proxy section
 

Revision as of 01:40, 14 February 2013

Following section to with new para to replace current text

Setting db variables to default values

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

To delete a property vale or reset to null issue either of the following commands

db accounts setprop key prop ''

or

db accounts delprop key prop


Warning.png Warning:
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.