multiple database usage...

Alan DeKok aland at deployingradius.com
Thu Aug 16 22:55:39 CEST 2007


A.L.M.Buxey at lboro.ac.uk wrote:
> hi,
> 
> quick question: is it possible to use multiple databases
> at the same time with rlm_sql - eg MySQL *and* PostgreSQL.
> from my looking at the configs and a brief skim of the
> code it appears that rlm_sql can only instantiate one
> of the drivers...but not both correct? 

  Yes.

  But you can deploy multiple instances of rlm_sql.

  sql mysql {
	driver = ...mysql
	...
  }

  And then refer to "mysql" instead of "sql".

  Alan DeKok.



More information about the Freeradius-Devel mailing list