users2mysql Problem

2007-06-07 Thread Jeff
I had made a mistake when importing my users file.  

Is there a way to purge the user data from mysql and it clears all their info 
from all the tables  

without reinstalling the database?  

   

Jeff- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

RE: users2mysql Problem

2007-06-07 Thread Robert Cross
you could try a sql query that deletes data in the table
DELETE FROM example WHERE age='15'

Robert


From: Jeff [EMAIL PROTECTED]Reply-To: FreeRadius users mailing list freeradius-users@lists.freeradius.orgTo: "FreeRadius users mailing list" freeradius-users@lists.freeradius.orgSubject: users2mysql ProblemDate: Thu, 07 Jun 2007 08:09:29 -0400



I had made a mistake when importing my users file.
Is there a way to purge the user data from mysql and it clears all their info from all the tables
without reinstalling the database?

Jeff
-List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: users2mysql Problem

2007-06-07 Thread tnt
run this SQL command from mysql prompt:

DELETE FROM radcheck,usergroup,... whatever table you have written to

It will delete data but not reset the indexes. But wouldn't it be wise
to learn a little bit about SQL before embarking on something like this?

Ivan Kalik
Kalik Informatika ISP


Dana 7/6/2007, Jeff [EMAIL PROTECTED] piše:

I had made a mistake when importing my users file.  

Is there a way to purge the user data from mysql and it clears all their info 
from all the tables  

without reinstalling the database?  

   

Jeff


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


users2mysql Problem Issue 2

2007-06-07 Thread Jeff
k, that did it   
but the issue is when importing  
entrys are going into the raccheck and usergroup  
but  nothing in the radreply  
hence  
none of the user attributes associated are being imported  
but is see no errors when after the script ran running back through what it 
outputted.  
 
  _  

  From: [EMAIL PROTECTED]
To: FreeRadius users mailing list [mailto:[EMAIL PROTECTED]
Sent: Thu, 07 Jun 2007 08:41:37 -0400
Subject: Re: users2mysql Problem

run this SQL command from mysql prompt:

DELETE FROM radcheck,usergroup,... whatever table you have written to

It will delete data but not reset the indexes. But wouldn't it be wise
to learn a little bit about SQL before embarking on something like this?

Ivan Kalik
Kalik Informatika ISP


Dana 7/6/2007, Jeff [EMAIL PROTECTED] piše:

I had made a mistake when importing my users file. 

Is there a way to purge the user data from mysql and it clears all their info 
from all the tables 

without reinstalling the database? 

 

Jeff


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
  
   
 - 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Re: users2mysql Problem Issue 2

2007-06-07 Thread Dennis Skinner
Jeff wrote:
 k, that did it
 but the issue is when importing
 entrys are going into the raccheck and usergroup
 but  nothing in the radreply
 hence
 none of the user attributes associated are being imported
 but is see no errors when after the script ran running back through what
 it outputted.

This seems mostly like a training issue.  You need to learn at least
some rudimentary SQL queries for MySQL if that is what you will be
using.  The MySQL manual is fairly well written.

However, out of curiosity, how are you importing entries?  Please be
specific.  I don't want to know that you a running a script, I want to
know what the script is doing and why you think it should be putting
things in radreply.

-- 
Dennis Skinner
Systems Administrator
BlueFrog Internet
http://www.bluefrog.com
- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html