8 messages in com.mysql.lists.plusplusProblem with mysql++, Aborted (core d...
FromSent OnAttachments
Mr.Y.SHIVAKANT15 Apr 2001 23:06 
Sander Pilon16 Apr 2001 04:14 
Sinisa Milivojevic16 Apr 2001 04:19 
Sinisa Milivojevic16 Apr 2001 04:20 
Luis E. Cruz Campos16 Apr 2001 09:17 
Alexander Friess17 Apr 2001 01:05 
Brandon Davis18 Apr 2001 17:26 
David Durant19 Apr 2001 05:36 
Subject:Problem with mysql++, Aborted (core dumped)
From:Luis E. Cruz Campos (luis@entelchile.net)
Date:04/16/2001 09:17:18 AM
List:com.mysql.lists.plusplus

I am trying to prove a small program of test, but when trying to execute it this always it throws "Aborted (core dumped)", this happens at the time of making the connection:

It is the program:

#include <iostream.h> #include <iomanip.h> #include "sqlplus.hh"

cchar *user="sqluser"; cchar *pass="sqluser"; cchar *host="Localhost"; cchar *db="test";

main () { cout << "Conectando...\n"; Connection MySQL(db, host, user, pass); cout << "Ok."; return 0; }

also i have proven with "Connection MySQL(db)" and "Connection MySQL(); MySQL.connect();", this like "root" and "common user"

i am using:

redhat 7.0 gcc 2.96 mysql 3.23.36 mysql++ 1.7.8

Thanks for your help !!! and sorry by my english !!!