LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-20-2005, 10:08 PM   #1
alexus1
LQ Newbie
 
Registered: Oct 2005
Distribution: Red Hat 9.0
Posts: 7

Rep: Reputation: 0
Question FreeeRadius and MySQL Need lots of help here


Ok, here we go... welcome another member...um

I'm trying to intall FreeRadius to use MySQL db to store user accounts..... well i sucsesfully install FreeRadius distribution and it works with text file user accounts, but when i tell the thing to use MySQL it says that library driver not found.... i was trying to complile with disabled shared libs but that didnt help....

also what i should mention is that i dont have any local copies os MySQL installed, i want to use remote server.... maybe thats a probem? but im nt reaaly know how to install MySQL under linux, u know im just a Windows Sysadmin => GUI person

Pease help, because it is gonna work or ill have a herat attack.......



 
Old 10-21-2005, 03:01 AM   #2
cyto
Member
 
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270

Rep: Reputation: 30
You might wanna install MySQL client. I havent used Freeradius. Cheers
 
Old 10-21-2005, 11:35 AM   #3
alexus1
LQ Newbie
 
Registered: Oct 2005
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
lol, what is MySQL client? I even havent ever heard about that ?
 
Old 10-21-2005, 11:43 AM   #4
tedfordgif
Member
 
Registered: Dec 2003
Posts: 43

Rep: Reputation: 15
You're using RH9, it appears. It has a nice GUI to select the mysql packages you want to install. Select the MySQL-client package, and the dependencies should be selected/installed automatically.
 
Old 10-21-2005, 11:44 AM   #5
tedfordgif
Member
 
Registered: Dec 2003
Posts: 43

Rep: Reputation: 15
MySQL-client is the package containing the client libraries, i.e. the code that knows how to make a connection to a remote MySQL server. The whole client-server thing...
 
Old 10-21-2005, 12:02 PM   #6
alexus1
LQ Newbie
 
Registered: Oct 2005
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
ok, will try to install it, hopefully it wold work... but i alredy became a pesimist :-)
 
Old 10-21-2005, 12:43 PM   #7
alexus1
LQ Newbie
 
Registered: Oct 2005
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
I've just downloaded MySQL Client RPM, how can i chek it it was installed?
 
Old 10-21-2005, 03:10 PM   #8
tedfordgif
Member
 
Registered: Dec 2003
Posts: 43

Rep: Reputation: 15
from the command line:

rpm -q MySQL-client
 
Old 10-21-2005, 08:13 PM   #9
alexus1
LQ Newbie
 
Registered: Oct 2005
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
ok, it says that pakage is not installed... im going crazy here....

Ill reinstall the system now, including the MYSQL server that comes with distribution, that ill install the freeradius with --disable-shared and will see what will happan....

:-(

and this is just a begining, how would i install it on PicoBSD i have no idea......
 
Old 10-21-2005, 10:20 PM   #10
alexus1
LQ Newbie
 
Registered: Oct 2005
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
I just tried to reinstall the freeradius on a clean system that has MySQL running and i got errors during "make"

can any one tell me what those errors are and what to do with them?

Log file: rad_log.txt

As to what i see the erors are about the sql but, what and why?
 
Old 10-21-2005, 11:53 PM   #11
tedfordgif
Member
 
Registered: Dec 2003
Posts: 43

Rep: Reputation: 15
If you're compiling FreeRadius, you need the MySQL source as well. There's probably a package for that--if not, mysql.com will have it.
 
Old 10-22-2005, 10:21 AM   #12
alexus1
LQ Newbie
 
Registered: Oct 2005
Distribution: Red Hat 9.0
Posts: 7

Original Poster
Rep: Reputation: 0
yea, there there is a source pakage on mysql.com ... but what do i do with it? if i alredy installed MySQL that came with RedHat distribution?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. NoviceW Linux - Networking 17 09-17-2014 02:13 PM
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock welery Linux - Software 19 03-06-2014 07:19 AM
ERROR 2002: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. suziecorbett Linux - Software 8 10-09-2008 01:52 AM
Problems with MySQL on SuSE: Can't Connect (/var/lib/mysql/mysql.sock) neocookie Linux - Software 8 02-07-2008 11:48 PM
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration