Hmm. tough, is DBMail compiled with the same mysqlclient library version as what's installed on the system?
-Micah On Saturday 05 November 2005 1:01 am, Nataraj S Narayan wrote: > Hi Micah > > I can manually connect and see the contents of 'dbmail' database using > mysql client. > > I can also connect using mysql-admin ,with server as 'localhost'. > > I am attaching the my.cnf and debian.cnf . > > regards and thanks > > Nataraj > > Micah wrote: > > Can you connect manually (using the mysql client) from the dbmail > > machine? > > > > Nataraj S Narayan wrote: > >> Hi Richard > >> > >> This is what i found :- > >> > >> wiredgsis:~# tail /var/log/mail.log > >> Nov 4 17:32:18 localhost dbmail/adduser[4590]: GetConfigValue(): > >> found value [dbmail] > >> Nov 4 17:32:18 localhost dbmail/adduser[4590]: GetConfigValue(): > >> searching value for config item [user] > >> Nov 4 17:32:18 localhost dbmail/adduser[4590]: GetConfigValue(): > >> found value > >> [root] > >> Nov 4 17:32:18 localhost dbmail/adduser[4590]: GetConfigValue(): > >> searching value for config item [pass] > >> Nov 4 17:32:18 localhost dbmail/adduser[4590]: GetConfigValue(): > >> found value > >> [rambo] > >> Nov 4 17:32:18 localhost dbmail/adduser[4590]: GetConfigValue(): > >> searching valu e for config item [sqlport] > >> Nov 4 17:32:18 localhost dbmail/adduser[4590]: GetConfigValue(): > >> found value > >> [3306] > >> Nov 4 17:32:18 localhost dbmail/adduser[4590]: GetConfigValue(): > >> searching value for config item [sqlsocket] > >> Nov 4 17:32:18 localhost dbmail/adduser[4590]: GetConfigValue(): > >> found value [/ var/run/mysql.sock] > >> Nov 4 17:32:18 localhost dbmail/adduser[4590]: dbmysql.c,db_connect: > >> mysql_real _connect failed: Can't connect > >> to MySQL server on 'ws077' (11 > >> > >> > >> regards > >> > >> Nataraj > >> > >> Richard Barrington wrote: > >>> Hi Nataraj, > >>> > >>> It could be a few things, MySQL not running, bad password, etc, etc, so > >>> please set the dbmail trace level to 5 and post the relevant log > >>> entries. > >>> > >>> Thanks, > >>> Richard. > >>> > >>> On Wed, 2005-11-02 at 17:09 +0000, Nataraj S Narayan wrote: > >>>> Hi > >>>> > >>>> I am a new user. Getting the following. Is it a problem with mySql? > >>>> > >>>> I use Mysql Ver 12.22 Distrib 4.0.24, for pc-linux-gnu (i386) > >>>> > >>>> > >>>> [EMAIL PROTECTED]:~/dbmail-2.0.7$ ./dbmail-users -a nataraj -w neetha > >>>> Opening connection to database... > >>>> Failed. Could not connect to database (check log) > >>>> Command failed. > >>>> [EMAIL PROTECTED]:~/dbmail-2.0.7$ Plz help > >>>> > >>>> regards > >>>> > >>>> Nataraj > >> > >> _______________________________________________ > >> Dbmail mailing list > >> Dbmail@dbmail.org > >> https://mailman.fastxs.nl/mailman/listinfo/dbmail