I have installed DBI-1.19, and trying to use radiator radius server to call an MySQL
query using DBI. I am getting the following error. My actual socket is under /etc.
I guess this error originates from the DBI. The install was perfect.
Deen
Wed Dec 10 18:29:47 2003: DEBUG: Handling request with Handler
'Realm=DEFAULT'
Wed Dec 10 18:29:47 2003: DEBUG: Deleting session for mikem,
203.63.154.1, 1234
Wed Dec 10 18:29:47 2003: DEBUG: Handling with Radius::AuthSQL
Wed Dec 10 18:29:47 2003: DEBUG: Handling with Radius::AuthSQL:
DBI->connect(radius) failed: Can't connect to local MySQL server through
socket '/var/lib/mysql/mysql.sock' (2) at
/usr/lib/perl5/site_perl/5.8.0/Radius/SqlDb.pm line 108
Wed Dec 10 18:29:47 2003: ERR: Could not connect to SQL database with
DBI->connect dbi:mysql:radius, root, deen123: Can't connect to local
MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Wed Dec 10 18:29:47 2003: ERR: Could not connect to any SQL database.
Request is ignored. Backing off for 600 seconds
Wed Dec 10 18:29:52 2003: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 1184 ....
Code: Accounting-Request
Identifier: 78
Authentic: <152>5<192>G~<220><205>?<222><138>J<219>.<232>R<239>
Attributes:
User-Name = "mikem"
Service-Type = Framed-User
NAS-IP-Address = 203.63.154.1
NAS-Port = 1234
NAS-Port-Type = Async
Acct-Session-Id = "00001234"
Acct-Status-Type = Start
Called-Station-Id = "123456789"
Calling-Station-Id = "987654321"
Acct-Delay-Time = 0
Wed Dec 10 18:29:52 2003: DEBUG: Handling request with Handler
'Realm=DEFAULT'
Wed Dec 10 18:29:52 2003: DEBUG: Adding session for mikem,
203.63.154.1, 1234