What I know of MySQL (people don't shoot me) is that it is just another database. (Let's qualify that - it is better than most!), however you still face some problems accessing the database with C++.
First, if you want to become a serious freelance programmer you cannot get tied into custom stuff. You have to use what is generic. For me ODBC and SQL is a God-send. It allows you to develop your own code and work with anybody's database. Every supplier of database soft supports ODBC and SQL.
This took me a long time to figure out and please do not expect it to be complete. It basically accepts a SELECT SQL statement and prints it on the screen.. I hope it is useful. I strongly recommend that if you intend to get serious about database programming you first understand my wrapper then imporve on it.
I am freely available on this forum to answer questions as I believe it will benefit all.
BlakJak :]
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
well, the problem with odbc is that you have to go in every workstation setting up manually odbc connections, while mysql is a fully fledged networked sql server that allow me to connect from everywhere, and while you have reason not to be tied to a particular database or architecture, going the mysql way i can make some extra dough and lure my clients into open source at the same time (and using open source tools to develop their software)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
mayanwarrior,
the version for linux (the unamed version) should work fine with Dev-C++. if you want to, you can manually compile using cygwin. hope this helps.
cheers,
fyrebyrd
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
has anyone tried to use mysql++ with Devc++? if true, wich version did you downloaded, the msvc one, the borlandc one or which one???
What I know of MySQL (people don't shoot me) is that it is just another database. (Let's qualify that - it is better than most!), however you still face some problems accessing the database with C++.
First, if you want to become a serious freelance programmer you cannot get tied into custom stuff. You have to use what is generic. For me ODBC and SQL is a God-send. It allows you to develop your own code and work with anybody's database. Every supplier of database soft supports ODBC and SQL.
I have written a C++ wrapper for ODBC SDK which is freely downloadable from http://blakjak/port5.com/download/odbcwrap.zip/ after 24 August 2002.
This took me a long time to figure out and please do not expect it to be complete. It basically accepts a SELECT SQL statement and prints it on the screen.. I hope it is useful. I strongly recommend that if you intend to get serious about database programming you first understand my wrapper then imporve on it.
I am freely available on this forum to answer questions as I believe it will benefit all.
BlakJak :]
well, the problem with odbc is that you have to go in every workstation setting up manually odbc connections, while mysql is a fully fledged networked sql server that allow me to connect from everywhere, and while you have reason not to be tied to a particular database or architecture, going the mysql way i can make some extra dough and lure my clients into open source at the same time (and using open source tools to develop their software)
Ok I was trying to be helpful and your initial request gave bugger-all info.
I take it from what you say is that you are a server side programer.
I stand with my recommendation and I'd appreciate comments from regulars.
BlakJak :]
mayanwarrior,
the version for linux (the unamed version) should work fine with Dev-C++. if you want to, you can manually compile using cygwin. hope this helps.
cheers,
fyrebyrd