How to Access Database from a C++ program in Linux
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix Programming > How to Access Database from a C++ program in Linux




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    How to Access Database from a C++ program in Linux  
Sunil Varma


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-06 07:49 AM

Hello all,

I'm developing a test tool that will collect information from a file.
The data collected from the file is parsed and put on to socket.
But I want two modes of collecting data.
1) From normal text file.
2) From a database.

All the above is to be developed in C++.
Till now I finished doing with socket communication with the file
parser.
But I did not from database.
I know MySql.
Can anyone guide me in connecting my C++ program to mysql database.
What is the procedure to connect a C/C++ program to any database, in
Linux environment.

Thanks in advance.

Regards
Sunil Varma






[ Post a follow-up to this message ]



    Re: How to Access Database from a C++ program in Linux  
the_edge123.nospam@club-internet.fr


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-06 07:49 AM


Sunil Varma a =E9crit :

> Can anyone guide me in connecting my C++ program to mysql database.
Have a look at http://tangentsoft.net/mysql++






[ Post a follow-up to this message ]



    Re: How to Access Database from a C++ program in Linux  
Sunil Varma


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-06 12:49 PM


the_edge123.nospam@club-internet.fr wrote:
> Sunil Varma a =E9crit :
> 
> Have a look at http://tangentsoft.net/mysql++

Thank you.
That serves my purpose.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:00 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register