Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: roit93 on March 21, 2019, 03:30:37 pm

Title: Problem with cpp mysql Database connectivity in Windows 10
Post by: roit93 on March 21, 2019, 03:30:37 pm
Good morning to all!
As the title says I have problems with cpp mysql database connectivity in Windows 10, in particular I followed the tutorial at the following link https://tutorialplaceforall.blogspot.com/2017/03/connecting-code-blocks-c-with-mysql-and.html. Could you tell me why I have the following errors and how I can resolve it?
Thanks in advance!
Title: Re: Problem with cpp mysql Database connectivity in Windows 10
Post by: sodev on March 21, 2019, 04:34:18 pm
Don't follow shitty tutorials, saves you a lot of trouble.

Just for the record, there is no such thing like CodeBlocks C++, your problem is unrelated to CodeBlocks and offtopic for this forum.

You either did not follow the steps of that tutorial and didn't link any of the MySQL libs or your compiler can't read these precompiled ones. Their names look like MSVC but they are C only so GCC might be able to read them.
Title: Re: Problem with cpp mysql Database connectivity in Windows 10
Post by: stahta01 on March 21, 2019, 05:19:47 pm
If you think your problem is Code::Blocks related.
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F)

For this website rules read http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)

Tim S.