Base solution for your next web application
Open Closed

MySQL Integration Problem #6552


User avatar
0
30mp created

Hello,

I just downloaded ASPNET Zero (Core & Angular 6.7) and I'm trying to integrate MySQL database using document link below:

https://aspnetboilerplate.com/Pages/Documents/EF-Core-MySql-Integration

But update-database failed for version 5.7 and 8.0. Is doc updated or Is there a known problem?

Version 5.7 (http://prntscr.com/mqj5vy) Version 8.0 (http://prntscr.com/mqj72u)

Thanks.


6 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Did you Remove all migration classes under .EntityFrameworkCore/Migrations folder?

  • User Avatar
    0
    30mp created

    Yes, i did. I removed these files: http://prntscr.com/mqo17g

  • User Avatar
    0
    maliming created
    Support Team

    @cosan What is your error message?

  • User Avatar
    0
    30mp created

    @maliming

    Version 5.7 (http://prntscr.com/mqj5vy) Version 8.0 (http://prntscr.com/mqj72u)

    I can share mysql server connection info for test if you want.

  • User Avatar
    0
    maliming created
    Support Team

    Can you send me the project source code? I try it locally.

    Email: [email protected]

  • User Avatar
    0
    30mp created

    Thanks @maliming resolved.