Changing MySQL port

This is a discussion on Changing MySQL port within the FreeRADIUS Users forums, part of the Networking and Network Related category; I'm using an alternate port (13001) for MySQL, and I've added a port option in sql.conf (I'...


Go Back   Usenet Forums > Networking and Network Related > FreeRADIUS Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-24-2005
tonix
 
Posts: n/a
Default Changing MySQL port


I'm using an alternate port (13001) for MySQL, and I've added a port option
in sql.conf (I've not found it in documentation, but it works and is in the
code).

server = "localhost"
port = "13001"
login = "radius"
password = "xxxxxxxx"

While normal mysql program works with these accounting data, I've this
error whitin freeradius:

Thu Mar 24 18:23:47 2005 : Info: rlm_sql (sql): Driver rlm_sql_mysql
(module rlm_sql_mysql) loaded and linked
Thu Mar 24 18:23:47 2005 : Info: rlm_sql (sql): Attempting to connect to
radius@localhost:13001/database
Thu Mar 24 18:23:47 2005 : Info: rlm_sql_mysql: Starting connect to MySQL
server for #0
Thu Mar 24 18:23:47 2005 : Error: rlm_sql_mysql: Couldn't connect socket to
MySQL server radius@localhost:database
Thu Mar 24 18:23:47 2005 : Error: rlm_sql_mysql: Mysql error 'Can't connect
to local MySQL server through socket '/tmp/mysql.sock' (2)'
Thu Mar 24 18:23:47 2005 : Error: rlm_sql (sql): Failed to connect DB handle #0
Thu Mar 24 18:23:47 2005 : Info: Ready to process requests.

I've searched all docs, but I don't see any info.

What to change/modify?

Tonino


-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:16 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0