Pomelo.EntityFrameworkCore.MySql icon indicating copy to clipboard operation
Pomelo.EntityFrameworkCore.MySql copied to clipboard

Not working with .net 6 on Ubuntu 20.04

Open sreekanthedayar opened this issue 2 years ago • 2 comments

Steps to reproduce

  1. Compiled and published the project on a windows machine with mysql 8.0.24 as database.
  2. Target machine for publishing as Linux with framework dependent mode
  3. Deployed the published code o ubuntu 20.04 with .net 6 runtime installed
  4. When i start service its getting error.

The issue

We had use this and was working perfectly fine on windows machine. But when we tried to deploy on Ubuntu 20.0.4, started getting error. reverted back to V 6.0.0 and is working fine with Ubuntu.

Further technical details

MySQL version: 8.0.24 Operating system: Ubuntu 20.0.4 Pomelo.EntityFrameworkCore.MySql version: Pomelo.EntityFrameworkCore.MySql 7.0. Microsoft.AspNetCore.App version: .net 6

Other details about my project setup:

Anybody else getting this issue?

sreekanthedayar avatar May 11 '23 08:05 sreekanthedayar

@sreekanthedayar it will be good if you will share the error to investigate your issue. Also Pomelo.EntityFrameworkCore.MySql 7.x for EF Core 7.x (not 6.x). You can check the dependencies matrix here

KirillKaverin avatar May 11 '23 11:05 KirillKaverin

@sreekanthedayar it will be good if you will share the error to investigate your issue. Also Pomelo.EntityFrameworkCore.MySql 7.x for EF Core 7.x (not 6.x). You can check the dependencies matrix here

We had reverted back to 6.0 version and is working fine.

sreekanthedayar avatar May 12 '23 11:05 sreekanthedayar