mysql-connector

MySql.ConnectorNET.Data vs MySql.Data

核能气质少年 提交于 2020-01-14 08:05:08
问题 What is the difference between the MySql.ConnectorNET.Data and the MySql.Data packages on NuGet? They both appear to be published by the same user (MySQL), and the Project Site links point to the same location (http://dev.mysql.com/downloads/). After installing both, the ConnectorNET version appears to lag behind the other version by a release. 回答1: Since the time you asked this question, Oracle (the package owner) has made the situation clear: MySql.Data is the official package that

MySql.ConnectorNET.Data vs MySql.Data

被刻印的时光 ゝ 提交于 2020-01-14 08:05:06
问题 What is the difference between the MySql.ConnectorNET.Data and the MySql.Data packages on NuGet? They both appear to be published by the same user (MySQL), and the Project Site links point to the same location (http://dev.mysql.com/downloads/). After installing both, the ConnectorNET version appears to lag behind the other version by a release. 回答1: Since the time you asked this question, Oracle (the package owner) has made the situation clear: MySql.Data is the official package that

How do I import MySql Connector into Unity Project?

无人久伴 提交于 2020-01-14 03:28:28
问题 I've tried placing the basic dll's into unity's assets folder - Result: "blah blah will cause Unity to Crash Error." I've tried Manually adding references - Result: Unity refreshes its references anytime the editor refreshes, so worthless. I've tried Installing using NuGet - Result: Closest to success as it handles all the dependencies and whatnot but I get: Assets/Scripts/Developing/TalkToDB.cs(3,7): error CS0246: The type or namespace name `MySql' could not be found. Are you missing an

Unable to update EntityFramework models from MySQL database in Visual Studio 2015 RC

时间秒杀一切 提交于 2020-01-13 08:22:08
问题 My organization upgraded from Visual Studio 2013 to Visual Studio 2015 RC a couple months ago, and we only just now attempted to update some of our existing "db-first" EntityFramework models from our MySQL database. When doing so, we received the following error. An exception of type 'System.ArgumentException' occurred while attempting to update from the database. The exception message is: 'Unable to convert runtime connection string to its design-time equivalent. The libraries required to

Which execute function should i use in MySQL connector/c++?

安稳与你 提交于 2020-01-11 03:01:12
问题 I need to write a wrapper (based on MySQL Connector/C++ ) which encapsulate specific SQL statements and provide user friendly interfaces, like: insert() , update() , delete() , select() , etc. In MySQL's native C API, every SQL statement could be executed by simply call "mysql_real_query()" , but now, in MySQL Connector/C++ , things get a little confused. There's 3 execute functions in sql::Statment class and 6 execute functions in sql::PreparedStatement class: mysql-connector-c++-1.1.5

ADO.Net Entity framework, Fatal error encountered during data read

假如想象 提交于 2020-01-06 19:36:09
问题 I am getting the following error while using MySql with Entity framework. I have set the default connection timeout to 300000 on the connection string of EntityConnectionStringBuilder. How to resolve this in Entity framework? Unhandled Exception: System.Data.EntityCommandExecutionException: An error occurred while reading from the store provider's data reader. See the inner exception for details. ---> MySql.Data.MySqlClient.MySqlException: Fatal error encountered during data read. ---> MySql

What is in a mysql provider?

假如想象 提交于 2020-01-06 06:58:40
问题 I have been toiling with an issue with mysql connector on and off for the past 3 months using a workaround. I even filed a bug report recently. However, I have found multiple instances of mysql connector failing in situations of advanced linq use. Some dating back to 2009 ( 3 years ) and still unresolved. In almost every instance, the user switched connectors. I am considering doing the same. However, I came across looking at where mysql connector exists inside of my project. From what I can

What is in a mysql provider?

六月ゝ 毕业季﹏ 提交于 2020-01-06 06:57:53
问题 I have been toiling with an issue with mysql connector on and off for the past 3 months using a workaround. I even filed a bug report recently. However, I have found multiple instances of mysql connector failing in situations of advanced linq use. Some dating back to 2009 ( 3 years ) and still unresolved. In almost every instance, the user switched connectors. I am considering doing the same. However, I came across looking at where mysql connector exists inside of my project. From what I can

trustCertificateKeyStoreUrl vs clientCertificateKeyStoreUrl

橙三吉。 提交于 2020-01-05 05:55:48
问题 What's the difference between trustCertificateKeyStoreUrl and clientCertificateKeyStoreUrl in MySQL Connector/J? When should I provide one or the other? I have a client app that connects with AWS RDS using SLL , which one of those should I be using? 回答1: trustCertificateKeyStoreUrl is for server authentication and clientCertificateKeyStoreUrl is for client authentication. During SSL negotitaion server presents its certificate containing server's public key and a checksum which is digitally

MySql.Data in GAC, still SecurityException

早过忘川 提交于 2020-01-04 05:41:08
问题 I have a problem with MySql.Data in a partial trusted environment. I've added MySql.Data to the GAC (by installing it with the MSI from the mysql.com site). As you can see here: >gacutil /l | grep -i mysql MySql.Data, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL MySql.Data.CF, Version=6.5.4.0, Culture=neutral, PublicKeyToken=c5687fc88969c4 4d, processorArchitecture=MSIL MySql.Data.Entity, Version=6.5.4.0, Culture=neutral, PublicKeyToken