asp.net core with EF and MySQL : extension method not found (no replies)
Hello, I want to use mysql with EF on asp.net core but when i do : services.AddDbContext<ContentContext>(opt => opt.UseMySQL()); VisualStudio tells me DbContextOptionBuilder doesn't have an...
View ArticleSystem.InvalidOperationException: No mapping to a relational type can be...
I am having difficulty when trying to use a Guid as a primary key on an entity in Entity Framework Core 1.0 using the latest MySQL Connector and EF Core MySQL provider. public class Person { [Key]...
View ArticleHow to connect to MySQL from teamview at another computer? (no replies)
How to connect to MySQL from teamview at another computer?
View ArticleMySQLDataAdapter on .NET Core 2 (no replies)
Hello. Recently i update my MySQL version to the last pre-release version 7.0.7-m61 Why i did not have access to MySQLDataAdapter. How i can fill a DataTable without the MySQLDataAdapter?
View ArticleAuthentication works and fails in the same code (no replies)
Hi, I'm trying the parking example: https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework60.html I copy-paste the code, only change port and password. This works: using (Parking...
View ArticleMYSQL and VB.NET VS2015 (no replies)
Hi all, I am very new to this forum and MySQL. I am creating a VB.NET application in Visual Studio 2015 which is reading data from MySQL database table (installed on my PC). Once I am finished with my...
View ArticleTimeout parameter for MySqlConnection? (no replies)
I'm trying a simple DB read using a Vis Basic example from Stack Overflow. My MySQL is slow (OrangePi based). Is there a timeout parameter for the MySqlConnection() and MySqlCommand() methods? My code...
View ArticleUnable to convert MySQL date/time value to System.DateTime (no replies)
Since the new release of mysql connector I receive the following error because I have date with format not compatible with .net. I have the convert zero datetime=true to my connexion string....
View ArticleUsing if statements (no replies)
Hello, I want to know how I would go about using 'if' statements with C# Ex: if(table.equals("Admin")){ } else { } Any ideas?
View ArticleAccess violation exception in ExecuteReader() (no replies)
In my application I am getting Access Violation exception (0xc0000005) in the function ExecuteReader(). This is totally random and the occurrence ranges from days to weeks. I am using MySQL Community...
View ArticleError in .net core 2.0 (no replies)
I want to try to connect to mysql in entityfraemwork in .net core 2.0 and I get the following error: Method 'Clone' in type...
View Article'Keyword not supported error' Using Dot Connect and MySQL. (no replies)
Hello, I was trying to connect a MySQL database to a windows form and I received this error: System.ArgumentException: 'Keyword not supported: 'host'.' I looked online and I'm not exactly sure how to...
View ArticleStrong name validation failed for 6.10.3-rc dll (no replies)
We have a library project (targeting NetStandard 2.0) that references MySql.Data 6.10.3-rc. We run our test project that tests our library project (targeting net47, but using the new projectfile...
View Article.mylogin.cnf and C# connector (no replies)
I am a newbie when it comes to C# connector and MySQL, so please bear with me. We have C/C++ application where we used .mylogin.cnf file to connect to MySQL server. I did search if it is possible to...
View ArticleMapping MySqlCommand queries to T or List (no replies)
Is there a way (library/class) to automagically map the result of a MySqlCommand statement to a List<T> or T of a given type of my choice. I want to use MySql for my core 2.0 app but I don't...
View ArticleSSL access using Certificate Store Location = LocalMachine (no replies)
I have a Windows Service Application that currently writes to a MySQL table using the 6.9.8 Connector/NET to which I am going to be adding SSL support. The Service runs under the Local System user...
View ArticleNullReferenceException in finalizer cause apppool crashes (no replies)
An unhandled exception occurred and the process was terminated. Application ID: /LM/W3SVC/2/ROOT/myapp Process ID: 25060 Exception: System.NullReferenceException Message: Object reference not set to...
View ArticleError with apostrophe in VB.net with mySQL connector (no replies)
I'm having problems, with MySQL, with the following code: Imports MySql.Data.MySqlClient 'LAst version 6.9.9.0 ADO.Net driver for MySQL Dim commandSQL As MySqlCommand connMySQL.Open() commandSQL =...
View ArticleLINQ query losing select when joining two queries (no replies)
Just to set the context a little, I'm trying to use queries with mysql that use Late row lookup as shown in this article...
View ArticleThere is something fishy in Sandard/Core versions of MySQL.Data.dll (no replies)
.NET versions of 6.9.9 and 6.10.3-rc seems to work well. But there is something fishy in .NET CORE / STANDARD versions of 6.10.3-rc and 8.0.9 dmr. I got constantly errors: Derived types must either...
View Article