Luis E. Cruz Campos writes:
> 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]
>
Hi!
You will have to use g++ 2.95.2 as 2.96 has a very unstable C++
compiler. And even less stable STL library.
Regards,
Sinisa
____ __ _____ _____ ___ == MySQL AB
/*/\*\/\*\ /*/ \*\ /*/ \*\ |*| Sinisa Milivojevic
/*/ /*/ /*/ \*\_ |*| |*||*| mailto:[EMAIL PROTECTED]
/*/ /*/ /*/\*\/*/ \*\|*| |*||*| Larnaca, Cyprus
/*/ /*/ /*/\*\_/*/ \*\_/*/ |*|____
^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
/*/ \*\ Developers Team
---------------------------------------------------------------------
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