I got a error when I run the sample file of Mysql++ , the file is
simple1.cc
I compile use below command:
g++ -g -o mysimple simple1.cc /usr/lib/libsqlplus.so -L/usr/lib/mysql
-I/usr/include/mysql/ -lmysqlclient -lnsl -lz -crypt -lsocket -lm
and I did not got any erro in compile and link, however when I run
mysimple I got error:
Error: Can't connect to local MySQL server through socket
'/temp/mysql.sock'(111).
So could you help to slove my problem? Thank you very much
Hensen
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php