8 messages in com.mysql.lists.plusplusRe: Problem with mysql++, Aborted (co...
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:Re: Problem with mysql++, Aborted (core dumped)
From:Mr.Y.SHIVAKANT (shka@vsnl.net)
Date:04/15/2001 11:06:13 PM
List:com.mysql.lists.plusplus

-----Original Message----- From: Luis E. Cruz Campos <luis@entelchile.net> To: mys@lists.mysql.com <mys@lists.mysql.com>; plus@lists.mysql.com <plus@lists.mysql.com> Date: Monday, April 16, 2001 9:37 AM Subject: Problem with mysql++, Aborted (core dumped)

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 !!!

Where do you get this lib sqlplus.hh i dont know and what is cchar.

YOUR SINCERELY Shivakanth