3 messages in com.mysql.lists.plusplusQuestion on connecting to mysql with ...
FromSent OnAttachments
Antonios Deligiannakis06 Mar 2002 14:32 
Derek Meek06 Mar 2002 14:48 
Antonios Deligiannakis06 Mar 2002 14:57 
Subject:Question on connecting to mysql with mysql++
From:Antonios Deligiannakis (ade@umiacs.umd.edu)
Date:03/06/2002 02:32:21 PM
List:com.mysql.lists.plusplus

I am trying to use the examples of mysql++ (the latest version 1.7.9) on a PC running redhat linux 7.0, with gcc 3.0. I successfully compiled the files, but when trying to run the examples, I cannot connect to mysql. The mysql server is running (I can connect by typping "mysql -u login -p"), but I always get an error message when trying to connect through mysql++. The error message that I am getting is: Error: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

I have tried to connect both as a regular user, and as a root user.

I would appreciate any help on this.