We are using SQL Server 2012 and MySQL 6 and though I can write a SQL statement directly in the Dataset window, I cannot seem to get a MySQL Stored Procedure to work by passing parameters via CALL:

Actuaaly my problem is
 either SSRS or the ODBC driver is having a problem sending/receiving the parameter value.

Other attempts at syntax:
 call shop.GetRegions() ,
 call shop.GetRegions(?) ,
 call shop.GetRegions(regid) ,
 call shop.GetRegions(@regid) 

None of these worked.

If I call the procedure with a hard coded value i.e. call shop.GetRegions(5) - it works.

Again, if the stored procedure has no parameters it works fine.

Can anyone give me any real direction on this issue. A sample of the correct syntax or a step by step example would really be appreciated.