Click here to Skip to main content
15,887,924 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
hi ,
i have vs2015 , mysql connector net 6.9.9 , mysql for visualstudio 1.2.6.
now i try to add new data source ..
this error appear in the end of data source configuration wizard

some updating commands could not be generated automatically. the database returned the following error:
you have a usable connection already


please help

What I have tried:

i tried another versions of mysql connector and mysql for visualstudio ..
i tried wamp server , xamp server .
Posted
Updated 30-Jul-17 18:56pm
Comments
[no name] 30-Jul-16 21:34pm    
Probably you are not closing or disposing the connection object. You can use the same connection object which is open or close it open new connection (if different connection string).
Basim Kam 31-Jul-16 6:10am    
i tried it with new project but the same error appeared.
Ehsan Sajjad 31-Jul-16 7:50am    
can you show the relevant code?
Basim Kam 31-Jul-16 8:24am    
this error appear when i try to add new data source ..
no codes written
The Praveen Singh 4-Aug-16 5:57am    
No codes written means it is in the air..

Here's the solution I found. I installed 6.9.8 and everything has worked perfectly since.
 
Share this answer
 
I have the same issue that came up when I first deleted the existing connection from Solution explorer. Ever since I am not able to use data source configuration wizard. It keeps giving me message that "Some updating commands could not generated automatically. The database returned the following error: You have a usable connection already. Any help is appreciated.
 
Share this answer
 
Comments
Patrice T 13-Aug-16 21:13pm    
This is not an open discussion, even if problem is the same, you should create a new question and delete this Solution.
i have uninstalled 6.9.9 and installed 6.9.8 and the problem is fixed. Thanks.
 
Share this answer
 
install connector 6.9.8 instead
 
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