-----Original Message-----
From: Luis E. Cruz Campos <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>; [EMAIL PROTECTED]
<[EMAIL PROTECTED]>
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 !!!
>
>--
>Luis E. Cruz Campos
>[EMAIL PROTECTED]
Where do you get this lib sqlplus.hh i dont know and what is cchar.


YOUR SINCERELY
Shivakanth


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

Reply via email to