Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: tkhdao on January 11, 2012, 04:08:55 pm

Title: Help Code::Blocks and MySQL
Post by: tkhdao 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.
Title: Re: Help Code::Blocks and MySQL
Post by: stahta01 on January 11, 2012, 06:22:03 pm
Read the FAQs; http://wiki.codeblocks.org/index.php?title=FAQ (http://wiki.codeblocks.org/index.php?title=FAQ)
State Compiler name and version.
Ask an Code::Blocks related question.

Tim S.
Title: Re: Help Code::Blocks and MySQL
Post by: tkhdao on January 12, 2012, 05:26:53 am
I am using MingW 4.4.1-2 compiler, please kindly help, Thanks
Title: Re: Help Code::Blocks and MySQL
Post by: stahta01 on January 12, 2012, 03:07:48 pm
Read the FAQs
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler (http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler)
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F)

Ask an Code::Blocks related question.

http://catb.org/~esr/faqs/smart-questions.html (http://catb.org/~esr/faqs/smart-questions.html)

FYI: You do realize this site does NOT support general programming questions!  

Tim S.
Title: Re: Help Code::Blocks and MySQL
Post by: nuerotronic 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!
Title: Re: Help Code::Blocks and MySQL
Post by: oBFusCATed on January 08, 2013, 11:41:05 am
Read the FAQs
http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler (http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler)
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_I_would_like_to_compile_a_project_using_some_non-standard_libraries._How_can_I_indicate_to_CodeBlocks_that_these_libraries_and_include_files_exist.3F)

Ask an Code::Blocks related question.

http://catb.org/~esr/faqs/smart-questions.html (http://catb.org/~esr/faqs/smart-questions.html)

FYI: You do realize this site does NOT support general programming questions!  

Tim S.
Title: Re: Help Code::Blocks and MySQL
Post by: herrtool 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.