Author Topic: Help Code::Blocks and MySQL  (Read 9181 times)

Offline tkhdao

  • Single posting newcomer
  • *
  • Posts: 3
Help Code::Blocks and MySQL
« on: January 11, 2012, 04:08:55 pm »
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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7067
    • My Best Post
Re: Help Code::Blocks and MySQL
« Reply #1 on: January 11, 2012, 06:22:03 pm »
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++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline tkhdao

  • Single posting newcomer
  • *
  • Posts: 3
Re: Help Code::Blocks and MySQL
« Reply #2 on: January 12, 2012, 05:26:53 am »
I am using MingW 4.4.1-2 compiler, please kindly help, Thanks

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7067
    • My Best Post
« Last Edit: January 12, 2012, 07:41:59 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

nuerotronic

  • Guest
Re: Help Code::Blocks and MySQL
« Reply #4 on: January 08, 2013, 11:10:23 am »
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!


Offline herrtool

  • Single posting newcomer
  • *
  • Posts: 9
Re: Help Code::Blocks and MySQL
« Reply #6 on: January 09, 2013, 12:57:39 am »
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.