Please anyone advice me the way to escap run-time variables in freeradius. I am using STR_TO_DATE and freeradius run-time variable is over-riding the mysql time variables<br><br>SELECT STR_TO_DATE('14 Mar 2012 21:37:23','%d %M %Y %H:%i:%s') gives 2012-03-14 21:37:23 in MySQL<br>
<br>Whereas in freeradius<br><br>SELECT STR_TO_DATE('14 Mar 2012 21:37:23','%d %M %Y %H:%i:%s') gives<br><br>'14 0 2011 20:001122334455:_<br><br>14 = Current Date<br><br>0 = MTU<br><br>2011 = Current Year<br>
<br>001122334455 = Calling-Station-ID<br><br>_ = Speed <br><br>I have tried escaping as per the thread <a href="http://freeradius.1045715.n5.nabble.com/Changing-the-format-of-a-date-attribute-tt2775323.html#a2775328">http://freeradius.1045715.n5.nabble.com/Changing-the-format-of-a-date-attribute-tt2775323.html#a2775328</a><br>
<br>But no luck ..<br><br>Thanks in advance !!<br><br>