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.
mysql++ for msVC++: Problems
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.
"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*
As requested: *bump*
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.
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement