37
Defi4NT
7y

Me trying to connect a MySQL DB with C++

Comments
  • 2
    Same. I still have problems with that in my project.
  • 3
    Been a while but I can recommend SOCI for this sort of thing http://soci.sourceforge.net/doc/...
  • 0
    @theredcameron I keep getting linker error despite checking the version of the connector 100000times,switching to x64, going back to x86, having everything set up properly in the settings of the project
    It's driving me fucking insane
  • 2
    Never tried in c++ but I did it in C andthat was no problem. Is the C++ driver somuch different?
  • 0
    @Voxera I don't think so, my guess is that it comes from my install of the MySQL workbench or something like that, there's a bit version conflict somewhere and I'm thinking of making a new install
  • 1
  • 2
    @Gatgeagent do this really feels like I'm whoring for ++?
  • 3
    @Gatgeagent first warning, second time = a ban. If you don't like a rant downvote it and move on.
  • 2
    @QCat looks awesome thanks for the tip mate :D
  • 2
    @Defi4NT you are welcome. The only downsided of PoCo is that it does not compile under MinGW and that it was developed by one whose name one can't pronounce
  • 2
    Update: after 4days, 100 stack overflow posts and 25 youtube videos later,
    It finally fucking work.
    Downside is that I have to sleep since I gotta wake up at 4am tomorrow :/
  • 1
    @theredcameron if you need some help regarding that you can add me on Skype if you want, I can give you all the infos, a super fucking useful video I found to finally figure it out and all the steps I've gone through to set it just right because it's tricky as hell
    I use VS Studio 2017 and regular MySQL workbench and local server on Windows.
  • 0
    You have problems with forks?
  • 0
    Sqlapi++, mate!
Add Comment