|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
How can I configure Dev C++ to use MySql
Hi everybody. I have installed Dev C++ version 4.9.7.0 and AppServ 1.90 (Apache+MySqk+php) and I want to make an application with Dev C++ and MySql, but I don't know how to configure Dev C++ to use MySql databases.
Can anybody tell me some tutorial to read about these ? I found a tutorial in devarticles.com but it is using Visual C++ and I would like to use Dev C++. Thanks a lot ![]() |
|
#2
|
|||
|
|||
|
I hate to be the bearer of bad news, but as far as I know, what you want is something called MySQL++, which is the API for C++. Unfortunately, it has to come in flavors, and at the moment (again, to the best of my knowledge), Dev C++ is not one of those flavors. I know it exists for Visual C++, Borland C++, GNU C++, and maybe a few others. I think the only other way would be to get the ODBC connector, and access the database through it, assuming Dev C++ can do this. ODBC is alright for viewing a DB, but I think it's terrible to try and program thru, just not flexible enough. Anyway, you can poke around there if you want, just go to mysql.com and then click the link that says mysql++ on the right hand side. I do have Visual C++ myself, and I don't think the documentation there particularly refers to VC++, but then again, I just use VC++ to write C++ programs, I'm not so interested in the "windows programming" aspect of it...
|
|
#3
|
|||
|
|||
|
Try this should work
here is a description of how to connect to mysql using odbc and dev c++ http://www.sptk.net/docs/devcpp/mysql.htm
|
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > How can I configure Dev C++ to use MySql |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|