News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

Help Code::Blocks and MySQL

Started by tkhdao, January 11, 2012, 04:08:55 PM

Previous topic - Next topic

tkhdao

Hi all,

I am using Windows 7 Home Premium, Code::Blocks 10.05, MySQL Server 5.5, MySQL connector C++ 1.1.0, but don't know how to configure Code::Blocks to start with these software. Please give your instructions.

Many thanks.

stahta01

Read the FAQs; http://wiki.codeblocks.org/index.php?title=FAQ
State Compiler name and version.
Ask an Code::Blocks related question.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

tkhdao

I am using MingW 4.4.1-2 compiler, please kindly help, Thanks

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

nuerotronic

BUMP!

when asking on oracles forums you get "sorry but these forums are for mysql related questions only..."
when asking on code::blocks forums you get "sorry but these forums are for code::blocks related questions only..."
when asking on c++ channel on irc freenode you get "sorry but this channel is only for c++ related questions only..."

Some how I feel NOBODY want's to help.

I really need help with this.

BUMP! BUMP! BUMP! BUMP! BUMP! BUMP! BUMP! BUMP! BUMP!


herrtool

Set your project to link to the library. That option is under build options - linker tab. The library is probably in the lib directory in the mySQL install path. Add the include directory too under search directories. Then work on compiling and linking a SIMPLE example. Then when you have problems (you will) ask a more specific question (probably somewhere else) and post y your compiler output.