I suggest you try the mySQL C API and see if that works first.

-Andrei Cojocaru

>From: Luis E. Cruz Campos <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: [EMAIL PROTECTED], [EMAIL PROTECTED]
>Subject: Problem with mysql++, Aborted (core dumped)
>Date: Mon, 16 Apr 2001 12:17:40 -0400
>MIME-Version: 1.0
>Received: from [192.58.197.162] by hotmail.com (3.2) with ESMTP id 
>MHotMailBCA3BCD600CA40043191C03AC5A20E370; Sun Apr 15 21:15:19 2001
>Received: (qmail 19544 invoked by uid 7797); 16 Apr 2001 04:11:13 -0000
>Received: (qmail 19519 invoked from network); 16 Apr 2001 04:11:12 -0000
>From mysql-return-71581-acojocaru Sun Apr 15 21:16:36 2001
>Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm 
>(http://www.ezmlm.org)
>List-ID: <mysql.mysql.com>
>Precedence: bulk
>List-Help: <mailto:[EMAIL PROTECTED]>
>List-Unsubscribe: 
><mailto:[EMAIL PROTECTED]>
>List-Post: <mailto:[EMAIL PROTECTED]>
>List-Subscribe: <mailto:[EMAIL PROTECTED]>
>Delivered-To: mailing list [EMAIL PROTECTED]
>X-Mailer: KMail [version 1.2]
>Message-Id: <[EMAIL PROTECTED]>
>
>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]
>
>---------------------------------------------------------------------
>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
>

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


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