mysql++ for msVC++: Problems

Started by
23 comments, last by emileej 20 years, 5 months ago
Hmm, it sounds odd. I''m not to sure though, as it has been a long time since I worked directly with the C API. Is it not possible to set some sort of timeout? It may some other problem as well.

I don''t have time to investigate now or teach about MySQL server administration, but will try to address both later. Do *bump* the thread if I forget.
Advertisement
I''d worked with c API for mysql, you may try to link with "Ignore all default libraries" option, and my project having the following arguments within the "object/libraries module", you may take referenced with it :

"libmysql.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib winmm.lib libcmtd.lib libcpmtd.lib"

Hope it may useful with your case.
I cant see why changing linker options will help a program that already compiles and does not crash.
As requested: *bump*
Emil Johansen- SMMOG AI designerhttp://smmog.com
Um, yeah...

Do you have a MySQL server running that you can access with a MySQL client? Make sure the server is alright before attempting to troubleshoot your program.

If you can connect with:
mysql --host=your.server.hostname --username=yourrootuser --password=yourpassword --database=mysql

But not with the same info from your program, I''m stumped. I will need to test myself, but will only do that when you''ve verified the above.
I am not exactly the master of mysql servers - Ill have a look around mysql.com tryin to find somekind of walkthru on setting up the mysql server...

"I feel like I could...like I could.... TAKE ON THE
WORLD!" - Day of the Tentacle
Emil Johansen- SMMOG AI designerhttp://smmog.com

This topic is closed to new replies.

Advertisement