Open fox-15 opened 8 months ago
Unless manually changed, the default mariadb/mysql server user "root" is only allowed to log in from localhost, which could be the reason.
@fox-15 From the logs that you posted, it looks like that your Web Deploy task executes some Microsoft SQL Server specific code path that triggers the exception.
I don't see anything using Pomelo or MySQL/MariaDB at all in the logs, only Microsoft SQL Server references. So looks like you get the exception, because the TelePoolDB
database does not exist in your SQL Server instance.
@fox-15 Do you need more support with this, or can we close this issue?
Good afternoon!
MySQL version: MariaDB 11.2.1 Operating system: Windows Server 2019 Datacenter Pomelo.EntityFrameworkCore.MySql version: 7.0.0 (01/17/2023) Microsoft.EntityFrameworkCore.Tools version: 7.0.11 (12.09.2023)
I am using MariaDB 11.2.1 (MySQL) database server and Pomelo.EntityFrameworkCore.MySql 7.0.0 (01/17/2023) Connection string:
server=localhost;user=root;password=1;database=DataBASE;
I can log into MySQL manager HeidiSQL or DBeaver with root account and password 1, my ASP.NET Core application works great, connection stringserver=localhost;user=root;password=1;database=DataBASE;
works too, yes access to the data meringueDataBASE
data is added, modified and deleted as required. Migrations that make changes to the database architecture work well on your local machine.But if I start to Publish an application to a remote server using "Entity Framework Migrations" then an error occurs when creating the database. I also use MariaDB 11.2.1 (MySQL) with the MSSQL Server database and connection string:
Server=.;Database=MSDATABASE;User ID=user;Password=1;MultipleActiveResultSets=true;Encrypt=False;
, and publishing works fine for it.But why the error for MySQL? How to solve this problem: