Is there an easy way to get the MySQL driver version programmatically from a C # program that references MySQL.Data.dll?
How about this:
Version version = System.Reflection.AssemblyName.GetAssemblyName("MySQL.Data.dll").Version;
Depending on where your mysql.data link lives, you may need to add a path to the dll file name.
you can parse the full assembly name to get the version of your .net connector, and then use the table you can find here (chapter one): http://downloads.mysql.com/docs/connector-net-en.a4 .pdf to find out which version of the Mysql server is supported.
Source: https://habr.com/ru/post/1714399/More articles:List Categories with Recent Comments / Actions with MYSQL - phpTomcat webapps full-text directory? - web-applicationsSetting an attribute of a label element with an object-oriented method - jqueryIn WPF, how do I configure my default user control to be used in development mode? - stylesAddress Book and Map Kit - ioshtml table - which column will give? - htmlConvert value to friendly URL format - Unicode decomposition ähhh - sql-serverConvert LINQ to .NET 2.0 - c #Возвращение XML-ответа в службе REST - javaОперация веб-службы WCF выдает исключение при передаче более 50 кбайт байт [] - .netAll Articles