MySQL Forums
Forum List  »  Connector/C (libmysql)

Can't Connect MySQL using Connector/C
Posted by: William Spence
Date: September 08, 2016 06:41PM

I am at my wits end! LOL I have spent days trying to simply get Connector/C setup in Eclipse. I have included the mysql.h header. I have added the libmysql.lib and mysqlclient.lib. Are their other libraries that I have not added that I need to be aware of?

My simple program to try to connect to my MySQL database builds fine, but when I run it, I get this message

<terminated> (exit value: -1,073,741,515)

That must mean something bad, but I can't decipher it. I found a vague link that suggests that it may be a missing DLL. The only DLL that I can think of would be that the libmysql comes as both a static .lib file or a dynamic .dll file. Any help would be greatly appreciated if you have any thoughts on this at all.

Options: ReplyQuote

Written By
Can't Connect MySQL using Connector/C
September 08, 2016 06:41PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.