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

roit93

  • Guest
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

  • Regular
  • ***
  • Posts: 497
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: 7582
    • My Best Post
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org