mysql insert

2004-09-01 Thread Cris Boisvert
Running Freeradius with Mysql fedora core 2 I'm trying to add a user in a one line command .. I've been trying something like this... although I think I have the syntax wrong and I have not found a instance of an example in my searching... mysql radius -e INSERT into userinfo (UserName, Name,

Re: mysql insert

2004-09-01 Thread Thor Spruyt
Cris Boisvert wrote: mysql radius -e INSERT into userinfo (UserName, Name, Mail) Values ('blahtest3', 'blahtestname3', 'blahtestmail3'); Odd question for the freeradius list :) You need quotes around the query! mysql radius -e INSERT INTO ... ( ...) VALUES ( ...); -- Regards, Thor Spruyt