Author Topic: Problem with cpp mysql Database connectivity in Windows 10  (Read 201 times)

Offline roit93

  • Single posting newcomer
  • *
  • Posts: 1
Problem with cpp mysql Database connectivity in Windows 10
« 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!
« Last Edit: March 21, 2019, 03:36:07 pm by roit93 »

Offline sodev

  • Almost regular
  • **
  • Posts: 242
Re: Problem with cpp mysql Database connectivity in Windows 10
« Reply #1 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.

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6489
    • My Best Post
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