Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Browsing all 1447 articles
Browse latest View live

MySQLConnection StateChange (1 reply)

Hi, I'm using MySql.Data.dll 6.9.8.0 to connect to a DB in C#, something like this: (private fields) MySqlConnection _conn; static string _connStr; (in a method) _connStr = "bladibla"; //correct...

View Article


INSERT using parameters, what about datatypes? (1 reply)

When creating a parameter e.g. to be used in an INSERT statement, the short version is to just specify the parameterName and an value-object e.g. DBCMD.Parameters.AddWithValue("@date", MyDateOject)...

View Article


CommandTimeout for ExecuteNonQuery seems to be duplicated (no replies)

Hello everybody, I am new on this forum. I have an issue on MySQL commands timeout. My configuration is: - MySQL server 5.6.23 - .NET 4.0 - Connector C# - MySQL.Data.dll 6.9.5.0 The problem is: I...

View Article

Can't Bulk Load CSV with blank fields (no replies)

In attempting to use the MySQLBulkloader in a Visual Studio program I have come across a problem when attempting to load (large CSV) files that use blank fields (,,) to indicate Null values. In would...

View Article

'Windows-1252' is not a supported encoding name. (1 reply)

O erro está no seu banco de dados, caso tenha algum campo com valor NULL adicione algum valor ou exclua-o. também pode ser corrigido na hora de criar sua tabela, eu corrigi o meu erro com esse código...

View Article


ON DUPLICATE KEY UPDATE - Same Query Different Results (no replies)

In my test app; Successive execution of the following query always returns positive row count, even when there is no change. insert into test (k,v) values ('testkey',123) on duplicate key update...

View Article

C# no results unlike workbench (no replies)

Hi All, When i run the following SPROC from workbench 6.3 CE i get my expected results however my C# code always reruns empty. I tried different ways to pass in datetime values without success. please...

View Article

Entity Framework 7 support - EF7 (no replies)

Any news to this topic?

View Article


Mono 4.x support (no replies)

Hi all, Just a quick question: I would like to understand if Connector/Net supports Mono 4.x. If so, any known issues? If not, is this support planned? Thank you, Chris.

View Article


MySql Exception by Selecting Auto_Increment Values C# (no replies)

0 down vote favorite I want to get the username and userid, but when i executing the command I get the Exception: Index was out of range. Must be non-negative and less than the size of the...

View Article

connecting to mysql from VB (no replies)

Hi Mysql community is installed and working fine with workbenck. Then created a project using VB community 15, have first added mysql.data.dll v6.9.8 , then this line to the project - Imports...

View Article

MySqlAdapter & .Net 3.5 (no replies)

My program DataAdapter & Fill are not working, can MySqlDataAdapter be used with framework 3.5? This worked before in framework 2.0, but I don’t appear to be retrieving any data now. Here is the...

View Article

MySQL Connector/NET: X DevAPI Reference (no replies)

MySQL Connector/NET: X DevAPI Reference Docs: - http://dev.mysql.com/doc/dev/connector-net/html/052f4a92-cf0f-4dcb-a79d-6770047e150f.htm - http://dev.mysql.com/doc/x-devapi-userguide/en/ Blogs: -

View Article


SQL Server / ADO / C++ Conversion (no replies)

Let first apologize if this is not in the right location. I was unsure where to go so "Newbie" caught my eye. I am in the process of converting Visual C++ code using ADO to access a SQL Server...

View Article

Cannot establish ssl connection (no replies)

Hello I'm a beginner but I've made a Powershell script that uses the mysql connector/net and it works. But now I would like to move the connection to a ssl connection. I followed the steps to first...

View Article


Specifying an empty geometry collection (no replies)

Hi, I am wondering if you can help me clarify how to create a MySqlGeometry instance that represents and writes an *empty* geometry collection to the MySQL 5.7 database? I am using MySql.Data 6.9.8....

View Article

My application freeze when loading information from my database (no replies)

Hello, i have a annoying bug when i try to reach the database server, my application freeze. I have searched and come down with the background worker and i done it but it keeps freezing for a couple...

View Article


Which is correct DLL for using MySqlClient (no replies)

I keep getting this error - The type 'MySql.Data.MySqlClient.MySqlConnection' exists in both 'c:\Users\Upendra\Documents\Visual Studio...

View Article

Error calling Stored Procedure - Can not return a result (no replies)

Hi, I'm calling a stored procedure named SPComportamentoCompra and happens this error: MySQLDriverCS Exception: MySQLDriverCS Error: wrong query.PROCEDURE dbo.SPComportamentoCompra can not return a...

View Article

.NET Async operation performance problems (no replies)

If I have a code that ExecuteNonQuery or ExecuteReader or ExecuteScalar they work just ok and the performance is... well, quite ok. Now, if I wan't to not eat up not so much resources, I run the async...

View Article
Browsing all 1447 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>