How do i connect to my MySQL database?

I have so far tried MySQL++, ODBC, SimpleDB, and the MySQL C++ Connector. All of them give me a FLOOD of errors in the output. Is there an easy way to connect?
SQLAPI is fairly easy to use
Nope. Linker erros still.

Error 1 error LNK2019: unresolved external symbol "public: virtual __thiscall SAConnection::~SAConnection(void)" (??1SAConnection@@UAE@XZ) referenced in function __catch$_main$0 C:\Users\Jeremy\Documents\Visual Studio 2010\Projects\MySQL1\MySQL1\main.obj

It does this with every SQL app.

Any help?
Can someone please send me a FULL tutorial on how to use MySQL quries with C++ on Windows 7. And if it uses a MySQL Connector can someone please show/tell me how to link it properly because obviously i'm not doing it right and i'm supposed to be making a login script for my buddy who is making a game in C++. Neither of us know why it's messing up. Neither of us know how to use MySQL with C++ just PHP.
closed account (zb0S216C)
Have you properly linked the SQL libraries? Undefined references are the result of missing dependencies when linking. Since you're using Visual Studio '10, follow these simple instructions to ensure proper library linkage:

Last edited on
Topic archived. No new replies allowed.