Bug #87461 Scaffold-DbContext get an error The string argument 'sql' cannot be empty
Submitted: 17 Aug 2017 21:24 Modified: 29 Sep 2017 7:58
Reporter: abigail armijo Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:8.0.8 OS:Windows
Assigned to: Assigned Account CPU Architecture:Any
Tags: .Net Core

[17 Aug 2017 21:24] abigail armijo
Description:
I can't scaffold a mysql database in a asp .net core with mysql entity framework with .1.1.2 with SDK 1.0.4 (Promoted to LTS) and .net core 2.0 is the same error

How to repeat:
It happens with .net core 1.1.2 and .net core 2.0
Install by Package Manager Console in Visual Studio 2017 comunity
MySql.Data.EntityFrameworkCore.Design 8.0.8-dmr
MySql.Data.EntityFrameworkCore 8.0.8-dmr
Microsoft.EntityFrameworkCore.Tools version 1.1.1
Try scaffold the database
Scaffold-DbContext "server=localhost;port=3316;database=caltic;user=xxxx;password=xxxx;sslMode=none" MySql.Data.EntityFrameworkCore -OutputDir caltic -f
Gets an error 
The string argument 'sql' cannot be empty.
[18 Aug 2017 19:39] Roberto Ezequiel Garcia Ballesteros
Hi Abigail,

This bug was fixed since 6.10.2.

Please try using our newest release version 6.10.3 and let us know if it works.

Thank you,
Roberto
[19 Aug 2017 14:00] abigail armijo
ok thank you i believed that the 8.0 is the last version thank you for clarify the last version works with .net core 2.0?
[29 Aug 2017 7:58] Chiranjeevi Battula
Hello abigail,

Thank you for the feedback.
This bug was fixed in 6.10.3 version (and it is fixed in 8.0.9 too but it's not released yet) so at the moment you can use 6.10.3 and it 
will support 1.1 only. 

Thanks,
Chiranjeevi.
[30 Sep 2017 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".