MySQL Forums
Forum List  »  Connector/C++

Connectivity issues?
Posted by: private private
Date: May 03, 2010 09:24AM

Hey guys,

I just installed the MySQL Connector/C++ on my windows machine running Visual Studio 2010 Evaluation. I used the link below to get me started, setting up my project using dynamic linking.
http://blog.ulf-wendel.de/?p=215

The code compiles successfully (source in the link), but upon executing the application i get an "Unhandled Exception" error:
"Unhandled exception at 0x7855b9cc in MySQLtest.exe: 0xC0000005: Access violation reading location 0x64726f77."

Debugging my source shows it breaking at this line:
con = driver->connect("tcp://127.0.0.1:3306", "root", "password");

Which naturally makes me conclude that it might very well be a connectivity issue to my MySQL database. My MySQL database is running at port 3306 and I've checked the username and password to be correct.

BTW. I've tried to switch from debug to release--as others on this forum have previously suggested--to no avail.

Thanks guys.

Options: ReplyQuote


Subject
Views
Written By
Posted
Connectivity issues?
3065
May 03, 2010 09:24AM
1404
July 19, 2010 11:41AM


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.