how to connect to DB on win console

Hi,
How to connect to DB on win console?
I mean without MFC
For example, I want to connect to Mysql or Mssql to do some simple work on win console.
And I have not found any Class to do that.
Thanks.
You can use MFC on console apps. So you can continue to use MFC for database access.

If you want to avoid MFC for other reasons, that's another matter.
yes, I just want to avoid MFC to connect DB, because I think MFC is too complex to do mere some simple work..
Any other solution?
Topic archived. No new replies allowed.