Click here to Skip to main content
16,021,294 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
Hi all,i am using VS2008 with MySql 5.5 version. I downloaded MySqlConnector6.2.4 & using it. Problem here is when i am running the application, connection is not opening. There is no doubt in code. Can any one help me out.
Thank you.
Posted
Comments
OriginalGriff 12-Jun-11 10:12am    
We would need to see a code fragment to be able to help: just the bit which creates the connection, opens it, uses it, and closes it again.
Kim Togo 12-Jun-11 10:14am    
If the connection is not opening, you must get an error or exception. Can you post the error message?
Joan M 13-Jul-11 12:04pm    
Put more details here and we will help you... like which error appears, the code you've made...

"There is no doubt in code." This is highly unlikely as many others use the same connector application. That means that your issue is in fact in your code.
Debug your application and make sure you don't hide any exceptions that are thrown. Examine and study the messages you get back and you will find the bug.
 
Share this answer
 
is your machine a 32bit or 64bit machine?
 
Share this answer
 
MySQL contains an internal database of users, make sure you still have permission to access whatever database you're trying to get to. Also, make sure you don't have a firewall blocking access.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900