On Wed, 10 Dec 2003, deen wrote: > 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. >
DBI-1.19 is quite old (released in Jul of '01). > > 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 This doc probably explains your problem better than I could: http://www.mysql.com/doc/en/Can_not_connect_to_server.html You might also want to look at: http://www.mysql.com/doc/en/Problems_with_mysql.sock.html Rudy
