Bug #52294 | Msql connector not working with visual studio data source wizard | ||
---|---|---|---|
Submitted: | 23 Mar 2010 8:04 | Modified: | 25 Mar 2010 0:12 |
Reporter: | Mo Heaven | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | Connector / NET | Severity: | S2 (Serious) |
Version: | 6.0.5 | OS: | Windows (Msql connector not working with visual studio data source wizard ) |
Assigned to: | CPU Architecture: | Any | |
Tags: | C#, data source designer, MySql Connector |
[23 Mar 2010 8:04]
Mo Heaven
[23 Mar 2010 8:45]
Tonci Grgin
Hi Moses and thanks for your report. This is not a bug. Please read the manual, it is better than wasting time. The problem you report is described in http://dev.mysql.com/doc/refman/5.1/en/connector-net-connection-options.html: Use Procedure Bodies true Setting this option to false indicates that the user connecting to the database does not have the SELECT privileges for the mysql.proc (stored procedures) table. When to set to false, Connector/NET will not rely on this information being available when the procedure is called. Because Connector/NET will be unable to determine this information, you should explicitly set the types of the all the parameters before the call and the parameters should be added to the command in the exact same order as they appear in the procedure definition. This option was added in Connector/NET 5.0.4 and Connector/NET 1.0.10. You simply do not have rights over mysql.proc while, at the same time, you have set "Use Procedure Bodies" to true. Reading how MySQL privileges system works might help too.
[25 Mar 2010 0:12]
Mo Heaven
Thank you! I added Use Procedure Bodies=False to the connectionstring and it works.