Radius Database

akinpelu emmanuel efakinpelu at yahoo.com
Fri May 6 16:10:27 CEST 2011


Hi Fajar,
 
If I understand your problem, you created a database of your own on phpmyadmin which you would like Freeradius to use?
 
First, FR has sql module and it has the schemas defined in modules/sql
 
For you to make interaction betweeen your web apps and FR database backend, you may have to use the schema and expand same. Also you may need to expand the sql.conf file.
 
Regards

Emmanuel

--- On Fri, 5/6/11, Fajar A. Nugraha <list at fajar.net> wrote:


From: Fajar A. Nugraha <list at fajar.net>
Subject: Re: Radius Database
To: "FreeRadius users mailing list" <freeradius-users at lists.freeradius.org>
Date: Friday, May 6, 2011, 9:56 AM



On Fri, May 6, 2011 at 8:40 PM, SC@ <sca1309 at hotmail.com> wrote:


I think you didn't understand my problem...



I think you didn't understand the hints everyone is trying to give you.
The answers are all there, but only if you have enough basic knowledge to understand them.
 
I have no problem with one software particularly... I have installed
freeradius, i have imported its database, i have written in, i have
connected my computer to a switch to test and all is right.
In an other hand, I have created a website to manage a database, i have
create a database with phpmyadmin to test and all is right... but i don't
know how to connect both... the database of freeradius is in a file, the
database of phpmy admin is in an other... when i modify my website's code to
manage my radius database it is not find because it is not at the right
place... that's why I want freeradius to create its database at another
place... but i don't think it is a problem of knowledge with that softwares,
it is way to change but where and how ? 


Let me repeat my answer "From your questions, you don't even know about connecting to MySQL server via TCP-IP"


The solution to that, was given by Alan "This is a question for MySQL, and has nothing to do with FreeRADIUS"


Have you asked there?


Here's another hint:
- you can have many mysql servers on the same computer, on any directroy you choose, accessible by tcp/ip, as long as they use different ip address/port combination. The usual setup is to bind to all IP address, and use different port (documentation example: http://dev.mysql.com/doc/refman/5.1/en/multiple-unix-servers.html)
- an application can connect to different database servers by connecting to different ip address/port combinations (documentation example: http://www.php.net/manual/en/mysqli.connect.php)


Let me repeat another part of my answer:
"(4) If you still have no idea what I'm talking about, then perhaps it's better to enlist professional, paid support for implementation."


-- 
Fajar




-----Inline Attachment Follows-----


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20110506/250960d8/attachment.html>


More information about the Freeradius-Users mailing list