paradiseHIT - 2007-10-31

when I generate the index,I input the command:

./genxref --url= --allversion

and the result is:

DBI connect('dbname=lxr','lxr',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) at lib/LXR/Index/ line 35
[Wed Oct 31 14:13:12 2007] fatal: LXR::Index::Mysql, line 35: Can't open connection to database

[@INC lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl . $0 ./genxref

and I have configured the MySQL : create a user lxr with nopasswd and create a database lxr through the initdb-mysql sql script.