<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel>
        <title>MySQL Forums - .NET</title>
        <description>Forum for MySQL Connector/.NET driver.</description>
        <link>http://forums.mysql.com/list.php?38</link>
        <lastBuildDate>Sun, 19 May 2013 16:34:47 +0000</lastBuildDate>
        <generator>Phorum 5.2.19</generator>
        <item>
            <guid>http://forums.mysql.com/read.php?38,586669,586669#msg-586669</guid>
            <title>Getting the error “A socket operation was attempted to an unreachable network” inconsistently in ASP.NET 4.0 Web App (no replies)</title>
            <link>http://forums.mysql.com/read.php?38,586669,586669#msg-586669</link>
            <description><![CDATA[ I am getting the error &quot;A socket operation was attempted to an unreachable network&quot; inconsistently in ASP.NET 4.0 Web App only when Web App is hosted on &quot;Windows Server 2008 R2 SP1 - 64-bit&quot; machine. My Web App uses:<br />
<br />
   1. ASP.NET 4.0<br />
   2. Entity Framework<br />
   3. MySql Server 5.0<br />
   4. MySql Connector 6.6.5<br />
<br />
The same App works well on &quot;Windows Server 2003 R2 - 64-bit&quot; machine. Please suggest some solution to this. Be noted that, it is able to connect to MySql but It's connection behavior is flaky i.e. it breaks with the said error randomly but not always.<br />
<br />
Thanks,<br />
<br />
Zaheer]]></description>
            <dc:creator>Zaheer Sheikh</dc:creator>
            <category>.NET</category>
            <pubDate>Sat, 18 May 2013 07:45:53 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,585778,585778#msg-585778</guid>
            <title>como puedo crear el instalador de mi base de datos. (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,585778,585778#msg-585778</link>
            <description><![CDATA[ Hola he desarrollado mi primera aplicacion en .net con conexion a base de datos mysql en localhost.<br />
<br />
Y necesito crear el instalador del aplicativo para que funcione en cualquier equipo para ser distribuido.<br />
<br />
Lo empece a crear pero no se como hacer para que el aplicativo instale la base de datos en el equipo donde se ejecute el instalador para asi poderme conectar a ella y que funcione mi aplicativo que se conecta a la base de datos en localhost<br />
<br />
alguien sabe como puedo crear el instalador para la base de datos y que asi funcione el aplicativo<br />
<br />
Muchas Gracias]]></description>
            <dc:creator>sergio aparicio riv</dc:creator>
            <category>.NET</category>
            <pubDate>Thu, 09 May 2013 15:31:05 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,585575,585575#msg-585575</guid>
            <title>MySQL and C#.Net Stored Procedure and multiple parameter (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,585575,585575#msg-585575</link>
            <description><![CDATA[ I am developing (converting application db from MS SQL to MySQL) an application using C#.Net and MySQL. My C# code and stored procedure is working perfect in MS SQL but when trying to ingrate with MySQL getting parameter error. My C# Code is as below and MySQL Stored Procedure is running perfectly (tested in editor using CALL key work and parameter)<br />
<br />
 public DataTable AlapValidateUser(string email, string password,string Type)<br />
    {<br />
        DataTable dt = new DataTable();<br />
        cmd = new MySqlCommand(&quot;UserIdValidation&quot;);<br />
        cmd.CommandType = CommandType.StoredProcedure;<br />
        cmd.Connection = cnn;<br />
        string pass = reEncryptpassword(password);<br />
<br />
        MySqlParameter pramEmail = new MySqlParameter(&quot;@v_emailId&quot;, email);<br />
        pramEmail.Direction = ParameterDirection.Input;<br />
        cmd.Parameters.Add(pramEmail);<br />
<br />
        MySqlParameter pramPassword = new MySqlParameter(&quot;@v_password&quot;, pass);<br />
        pramPassword.Direction = ParameterDirection.Input;<br />
        cmd.Parameters.Add(pramPassword);<br />
<br />
        MySqlDataAdapter adap = new MySqlDataAdapter(cmd);<br />
        if (cnn.State != ConnectionState.Open ||<br />
            cnn.State == ConnectionState.Broken ||<br />
            cnn.State != ConnectionState.Connecting ||<br />
            cnn.State != ConnectionState.Executing ||<br />
            cnn.State != ConnectionState.Fetching)<br />
            cnn.Open();<br />
<br />
        adap.Fill(dt);<br />
        cnn.Close();<br />
        return dt;<br />
    }<br />
MySQL Stored Procedure is here:<br />
<br />
CREATE DEFINER=`root`@`localhost` PROCEDURE `UserIdValidation`(v_emailId NATIONAL VARCHAR(100),v_password <br />
NATIONAL VARCHAR(50))<br />
BEGIN<br />
   SELECT UserId ,eMail,BloodGroup<br />
,BloodGroupID,Country AS CountrySlNo ,CountryName ,State ,District<br />
,Location,fName,lName ,DonorType ,LastLogIn ,Validated ,ProfileImage<br />
      ,MaritalStatus ,Sex ,Height ,Weight  ,HealthStatus<br />
      ,MyFileLocation FROM vwUser WHERE eMail = v_emailId AND<br />
   PASSWORD = v_password AND Validated = 'Y';<br />
END$$<br />
During execution exception as below:<br />
<br />
&quot;Incorrect number of arguments for PROCEDURE alap.UserIdValidation; expected 2, got 1&quot;<br />
<br />
Already I have tried by changing parameter entry by below code:<br />
<br />
cmd.Parameters.Add(new MySqlParameter(&quot;@v_emailId&quot;, email)); cmd.Parameters.Add(new MySqlParameter(&quot;@v_password&quot;, pass)); <br />
<br />
and @ with ? and without @ or ? but nothing works.<br />
<br />
<br />
Can you please help me to find out the error. Is it a bug of mysql connector?<br />
<br />
UPDATE: My MySQL connector is v.6.6.5. I have checked in debug mode in C# parameter is correct and can see both paramter in command object. Next it is trying to filling Adapter hence this command object is passing to MySQL from Connector and there paramter is missing. I have tried to add same 1st parameter by creating 3rd line then gettinng error that same paramter already exist.<br />
From this test I am sure it is purely MySQL or mysql connector bug. <br />
I dont know how this bug can exists in such DB where so many people is using mysql.<br />
<br />
Thanks Suman]]></description>
            <dc:creator>Suman Biswas</dc:creator>
            <category>.NET</category>
            <pubDate>Mon, 06 May 2013 17:37:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,585570,585570#msg-585570</guid>
            <title>How to use UTF16 with .net (7 replies)</title>
            <link>http://forums.mysql.com/read.php?38,585570,585570#msg-585570</link>
            <description><![CDATA[ when I change a table and fields to utf16,I cann't get data by MySqlDataAdapter.<br />
I test in default sample: Connector NET 6.6.5\Samples\Table Editor\cs,it's same question.<br />
<br />
this is samples code:<br />
<br />
data = new DataTable();<br />
da = new MySqlDataAdapter(&quot;SELECT * FROM &quot; + tables.SelectedItem.ToString(), conn);<br />
cb = new MySqlCommandBuilder(da);<br />
da.Fill(data); //error:long time no response<br />
<br />
test database:sakila<br />
Mysql version:5.6.11<br />
<br />
anyone help me!]]></description>
            <dc:creator>freefly pan</dc:creator>
            <category>.NET</category>
            <pubDate>Tue, 14 May 2013 16:55:12 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,585211,585211#msg-585211</guid>
            <title>MySQL Connector/Net 6.7.2 Beta has been released (5 replies)</title>
            <link>http://forums.mysql.com/read.php?38,585211,585211#msg-585211</link>
            <description><![CDATA[ MySQL Connector/Net 6.7.2, a new version of the all-managed .NET driver for MySQL has been released.  This is the first beta release intended to introduce users to the new features in the release.  This release is feature complete, it should be stable enough for users to understand the new features and how we expect them to work.  As is the case with all non-GA releases, it should not be used in any production environment.  It is appropriate for use with MySQL server versions 5.0-5.7.<br />
<br />
It is now available in source and binary form from <a href="http://dev.mysql.com/downloads/connector/net/#downloads"  rel="nofollow">http://dev.mysql.com/downloads/connector/net/#downloads</a> and mirror sites (note that not all mirror sites may be up to date at this point-if you can't find this version on some mirror, please try again later or choose another download site.)<br />
<br />
The 6.7 version of MySQL Connector/Net brings the following new features:<br />
-    WinRT Connector.<br />
-    Load Balancing support.<br />
-    Entity Framework 5.0 support.<br />
-    Memcached support for Innodb Memcached plugin.<br />
-    This version also splits the product in two: from now on, starting version 6.7, Connector/NET will include only the former Connector/NET ADO.NET driver, Entity Framework and ASP.NET providers (Core libraries of MySql.Data, MySql.Data.Entity &amp; MySql.Web). While all the former product Visual Studio integration (Design support, Intellisense, Debugger) will be released in a separated plugin for Visual Studio product.<br />
<br />
<br />
WinRT Connector<br />
-------------------------------------------<br />
The major feature introduced in this Beta. Now you can write MySql data access apps in Windows Runtime (aka Store Apps) using the familiar API of Connector/NET for .NET.<br />
The following features are supported:<br />
- Open a connection using most of the connection string attributes: (database, pooling, user variables, etc)<br />
- Execute queries using MySqlDataReader: it can execute queries and show commands<br />
- Execute non queries: it can execute DML statements: Insert, delete, update<br />
- Change database<br />
- Password expiration<br />
- Basic connection attributes (connector name and operating system only)<br />
- Authentication plugins (mysql native password only)<br />
- Connections pool<br />
- Connection clone<br />
- Connection timeout<br />
- Abort connection<br />
- Ping<br />
<br />
Features not supported in this release:<br />
- Authentication with other protocols than native mysql (specifically sha256 &amp; windows integrated security).<br />
- SSL encryption for connections.<br />
<br />
Known issues:<br />
- Due to indeterministic RT Garbage Collection, is better to explicitely call Close/Dispose on a connection than setting reference to null.<br />
<br />
Other features not planned to be supported:<br />
- MySqlCommandBuilder<br />
- Entity Framework<br />
- ASP.NET Providers.<br />
<br />
<br />
Load Balancing Support<br />
-------------------------------------------<br />
Now you can setup a Replication or Cluster configuration in the backend, and Connector/NET will balance the load of queries among all servers making up the backend topology.<br />
<br />
Entity Framework 5.0<br />
-------------------------------------------<br />
Connector/NET is now compatible with EF 5, including special features of EF 5 like spatial types.<br />
<br />
Memcached<br />
-------------------------------------------<br />
Just setup Innodb memcached plugin and use Connector/NET new APIs to establish a client to MySql 5.6 server's memcached daemon.<br />
<br />
<br />
Enjoy and thanks for the support!]]></description>
            <dc:creator>Fernando Gonzalez Sanchez</dc:creator>
            <category>.NET</category>
            <pubDate>Wed, 15 May 2013 14:51:59 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,584668,584668#msg-584668</guid>
            <title>Multiple Simultaenous Connections (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,584668,584668#msg-584668</link>
            <description><![CDATA[ My problem is twofold.  I am using the .NET connector with EntityFramework to do some manual SQL and am getting sporadic database connection errors. Here is my question on stackoverflow:<br />
<br />
<a href="http://stackoverflow.com/questions/16171673/sporadic-multiple-simultaneous-connections-are-not-currently-supported"  rel="nofollow">http://stackoverflow.com/questions/16171673/sporadic-multiple-simultaneous-connections-are-not-currently-supported</a><br />
<br />
It was recommended to me that I upgrade my connector.  Well I installed the Alpha connector and now I cannot select MySQL as a Data Source from within Visual Studio.  Can anyone help me out??]]></description>
            <dc:creator>J R</dc:creator>
            <category>.NET</category>
            <pubDate>Tue, 23 Apr 2013 19:52:02 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,584577,584577#msg-584577</guid>
            <title>[SOLVED] MySqlException in C# project (2 replies)</title>
            <link>http://forums.mysql.com/read.php?38,584577,584577#msg-584577</link>
            <description><![CDATA[ Hello all,<br />
<br />
I'm encountering a problem using the version 6.1.6 of the SqlConnector/NET.<br />
<br />
When I try to catch an Exception for example when trying to establish the connection with the Database, the &quot;MySqlException&quot; objet I create in the catch condition isn't available.<br />
<br />
<pre class="bbcode">
try
{
    Connection.Open();
    return true;
}
catch (MySqlException ex)
{</pre>
<br />
The message that I get is that the MySqlException class isn't &quot;derived&quot; from the System.Exception class. <br />
When I take a look in the object browser in VS 2010, I see the class is derived from &quot; System.Data.Common.DbException&quot;.<br />
<br />
Can someone tell me how to go trough it ?  When I try to access the &quot;System.Data...&quot; with my using, nothing is listed.<br />
<br />
Any ideas ?<br />
<br />
Thanks for all the advises you can provide.<br />
<br />
Raph]]></description>
            <dc:creator>Raphaël Threis</dc:creator>
            <category>.NET</category>
            <pubDate>Mon, 22 Apr 2013 15:20:19 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,584202,584202#msg-584202</guid>
            <title>SQLCommand Text Question (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,584202,584202#msg-584202</link>
            <description><![CDATA[ Is there a limit as to the length a SQLsommandtext can be ?<br />
<br />
I keep getting the error: Fatal error encountered during command execution.<br />
I'm connecting to a Mysql 5.6 db from powershell 2.0 on win 7.<br />
I'm trying to load MS DHCP audit logs in a database.<br />
<br />
If I shorten the SQL statement it works. <br />
Here is the statement that causes the error:<br />
<br />
<br />
$sql = &quot;load data infile $sqlfullpath into table audit_rec FIELDS TERMINATED BY ',' IGNORE 33 LINES &quot; + `<br />
       		   &quot;(rec_code, @daterec, rec_time, Rec_description, rec_ip_addr, rec_hostname, rec_mac, rec_user, &quot; + `<br />
			   &quot;rec_trans_id, rec_Qresult, rec_probationtime, rec_correlation_id, rec_dhcid) &quot; + `<br />
	   		   &quot;SET rec_date = str_to_date(@daterec, '%m/%d/%y')&quot;<br />
<br />
$command.ExecuteNonQuery()<br />
<br />
##### $sqlfullpath is the full path to the dhcp audit log file with '\\' bwetween folder names.<br />
<br />
<br />
Now I have tried this command in workbench and it works like a charm. Loads all the records correctly.  Just trying to do this in powershell to read multiple files and import them.  Processing one file at a time.<br />
<br />
Thanks]]></description>
            <dc:creator>Chris Isaksen</dc:creator>
            <category>.NET</category>
            <pubDate>Mon, 22 Apr 2013 17:31:04 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,584172,584172#msg-584172</guid>
            <title>How To: Storing and retrieving spatial data on MySQL server with Connector/Net (no replies)</title>
            <link>http://forums.mysql.com/read.php?38,584172,584172#msg-584172</link>
            <description><![CDATA[ Spatial data is being more used and needed at a larger number of applications. This type of data is not always easy to be managed or queried. And sometimes calculations need to be done in the application code instead of doing them at the server. Recently we added a new class to manage spatial data with Connector/Net, so our users can have the option to handle spatial data operations at their application code.<br />
<br />
Post link: <a href="https://blogs.oracle.com/MySqlOnWindows/entry/howto_storing_and_retrieving_spatial"  rel="nofollow">https://blogs.oracle.com/MySqlOnWindows/entry/howto_storing_and_retrieving_spatial</a><br />
<br />
Looking forward to your feedback.]]></description>
            <dc:creator>Gabriela Martinez Sanchez</dc:creator>
            <category>.NET</category>
            <pubDate>Wed, 17 Apr 2013 15:05:44 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,584112,584112#msg-584112</guid>
            <title>MySqlBulkLoader BIT columns (2 replies)</title>
            <link>http://forums.mysql.com/read.php?38,584112,584112#msg-584112</link>
            <description><![CDATA[ How do I handle bit columns when using the MySqlBulkLoader columns... in the source data file, i have tried the following which ALWAYS results in a TRUE value in the table....<br />
<br />
FALSE<br />
false<br />
False<br />
0<br />
<br />
None of these will actually produce a BIT column value of 0 in the table... it always shows up as a 1.<br />
<br />
How can I store false or ZERO values in the BIT column in the table via MySqlBulkLoader... Thanks in advance! :)]]></description>
            <dc:creator>Scott McLeod</dc:creator>
            <category>.NET</category>
            <pubDate>Thu, 18 Apr 2013 20:45:59 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,584067,584067#msg-584067</guid>
            <title>License Issues When Using With NHibernate And Multiple DB Types (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,584067,584067#msg-584067</link>
            <description><![CDATA[ I wish to distribute mysql connector with my commercial application which uses nhibernate to target multiple Data base types and mysql happens to be one of them. I want to give my clinets the choice of DB they wish to use at install time. I do not want to put them in the hassel of downloading the connector themselves and copying it to software installation directory.So, it would be more comfortable for me to package the mysql connector along with the application. Since my application dose not depends on mysql in two ways: a) My app targets multiple DBs and it will run with or without mysql connector, b) My app talks to mysql connector through NHibernate which is distributed under LGPL. So kindly advice if one of these reasons is good enough to distribute mysql connector without paying for license. Also, I read on some forum that if I sign up with mysql or oracle I can distribute the connector with my commercial aplication freely, please advice if it's correct since I have already signed up with you, otherwise I will not be able to post this message.<br />
Best regrds,<br />
Himashu]]></description>
            <dc:creator>Himanshu Kodwani</dc:creator>
            <category>.NET</category>
            <pubDate>Wed, 17 Apr 2013 16:28:07 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,583821,583821#msg-583821</guid>
            <title>MySQL Connector/Net 6.7.1 Alpha 2 has been released (3 replies)</title>
            <link>http://forums.mysql.com/read.php?38,583821,583821#msg-583821</link>
            <description><![CDATA[ MySQL Connector/Net 6.7.1, a new version of the all-managed .NET driver for MySQL has been released.  This is the second of two alpha releases intended to introduce users to the new features in the release.  This release is not feature complete and there are significant limitations but it should be stable enough for users to understand the new features and how we expect them to work.  As is the case with all non-GA releases, it should not be used in any production environment.  It is appropriate for use with MySQL server versions 5.0-5.6<br />
<br />
It is now available in source and binary form from <a href="http://dev.mysql.com/downloads/connector/net/#downloads"  rel="nofollow">http://dev.mysql.com/downloads/connector/net/#downloads</a> and mirror sites (note that not all mirror sites may be up to date at this point-if you can't find this version on some mirror, please try again later or choose another download site.)<br />
<br />
The 6.7 version of MySQL Connector/Net brings the following new features:<br />
<br />
-    Load Balancing support.<br />
-    Entity Framework 5.0 support.<br />
-    Memcached support for Innodb Memcached plugin.<br />
-    This version also splits the product in two: from now on, starting version 6.7, Connector/NET will include only the former Connector/NET ADO.NET driver, Entity Framework and ASP.NET providers (Core libraries of MySql.Data, MySql.Data.Entity &amp; MySql.Web). While all the former product Visual Studio integration (Design support, Intellisense, Debugger) will be released in a separated plugin for Visual Studio product.<br />
<br />
Load Balancing Support<br />
-------------------------------------------<br />
Now you can setup a Replication or Cluster configuration in the backend, and Connector/NET will balance the load of queries among all servers making up the backend topology.<br />
<br />
Entity Framework 5.0<br />
-------------------------------------------<br />
Connector/NET is now compatible with EF 5, including special features of EF 5 like spatial types.<br />
<br />
Memcached<br />
-------------------------------------------<br />
Just setup Innodb memcached plugin and use Connector/NET new APIs to establish a client to MySql 5.6 server's memcached daemon.<br />
<br />
The following bug fixes are provided in this 6.7.1 release:<br />
- Fix for Bug Assemblies for .net 4.5 are not included in the installation (Oracle Bug #16463655).<br />
- Fix for Bug Geometry Provider Incompatible Exception (Oracle Bug # 16453250).<br />
<br />
<br />
Enjoy and thanks for the support!]]></description>
            <dc:creator>Fernando Gonzalez Sanchez</dc:creator>
            <category>.NET</category>
            <pubDate>Thu, 02 May 2013 19:19:35 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,583381,583381#msg-583381</guid>
            <title>MySql (Connector 6.6.5)  not listed in VS2012 ultimate data source list (3 replies)</title>
            <link>http://forums.mysql.com/read.php?38,583381,583381#msg-583381</link>
            <description><![CDATA[ Hi,<br />
<br />
I've installed connector on VS2012 ultimate but MySql does not appear on the data source.<br />
Link to the log file: <a href="https://docs.google.com/file/d/0BzR4emKFPF5LMnRkSmR0QTVuTjg/edit?usp=sharing"  rel="nofollow">https://docs.google.com/file/d/0BzR4emKFPF5LMnRkSmR0QTVuTjg/edit?usp=sharing</a><br />
<br />
Please advise.<br />
<br />
Eran]]></description>
            <dc:creator>Eran Hadar</dc:creator>
            <category>.NET</category>
            <pubDate>Tue, 09 Apr 2013 08:25:15 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,582969,582969#msg-582969</guid>
            <title>CANNOT INSTALL MYSQL CONNECTOR/NET 6.6.5 (3 replies)</title>
            <link>http://forums.mysql.com/read.php?38,582969,582969#msg-582969</link>
            <description><![CDATA[ Hi, i had a problem uninstalling the mysql connector/net.. i followed the instructions given in the forum on using regedit to remove it. it removed succcessfully. now i am trying to reinstall mysql 6.6.5 and only the connector/net 6.6.5 doesnt want to install it says install error. ANY HELP PLEASE?? i am on windows server 2003 service pack 1]]></description>
            <dc:creator>Whitney Garbutt</dc:creator>
            <category>.NET</category>
            <pubDate>Fri, 05 Apr 2013 02:05:19 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,582240,582240#msg-582240</guid>
            <title>MySQL Connector/Net 6.5.6 Maintenance Release has been released (no replies)</title>
            <link>http://forums.mysql.com/read.php?38,582240,582240#msg-582240</link>
            <description><![CDATA[ MySQL Connector/Net 6.5.6, a new maintenance release of our 6.5 series, has been released.  This release is GA quality and is appropriate for use in production environments.  Please note that 6.6 is our latest driver series and is the recommended product for development. It is now available in source and binary form from <a href="http://dev.mysql.com/downloads/connector/net/#downloads"  rel="nofollow">http://dev.mysql.com/downloads/connector/net/#downloads</a> and mirror sites (note that not all mirror sites may be up to date at this point-if you can't find this version on some mirror, please try again later or choose another download site.)<br />
<br />
While 6.5.6 is recommended over 6.5.5, for the most feature complete &amp; stable Connector/NET version for production we recommend 6.6.5.<br />
<br />
The 6.5.6 version of MySQL Connector/Net brings the following fixes:<br />
- Fix internal bug &quot;Parser cannot recognize row_count in grammar version 5.6&quot; (id task 326).<br />
- Fixed missing keywords not working as ids (without quoting) in parser: value, status, unknown &amp; some unit tests.<br />
- Fix for Datetime precision doesn't work with code first or model first. (Oracle bug #15972773).<br />
- Fix for Support for current_timestamp as default for datetime with ef for server 5.6 (Oracle bug #15935094).<br />
- Adding support for Geometry type. Unit Tests included. Supporting server 5.1 and further.<br />
- Added support for new connect attributes feature in server 5.6 (Oracle bug #15935112).<br />
- Added protocol support for password expiration (Oracle bug #15935104).<br />
- Added to parser missing &quot;alter user ... password expire&quot;.<br />
- Fix for &quot;Debugger error on stored procedure&quot;, which is actually a parser bug (parser was expecting decimal both precision &amp; scale),<br />
(bug MySql #67975, Oracle bug #16079735).<br />
- Added support for password hashing with appropriate strength for server 5.6 (Oracle bug #15935128).<br />
- Fix for GetSchema returning MySqlException instead of ArgumentException when passing an invalid collection name<br />
(Oracle bug #16271425, MySql bug #67901).<br />
- Fix for EF 4.3 failing when FK identifiers are too long (MySql bug #67285, Oracle bug #16286397).<br />
- Fix for race condition on ConnectionStringBuilder when using multiple threads<br />
(MySql bug #68217, Oracle bug #16310698).<br />
- Fix for stored routines being edited from Server explorer appear as ALTER, which may led<br />
to syntax errors, which may led to Intellisense to stop working (Oracle bug #16357595).<br />
- Fix for Error in Server Explorer when refreshing a table or view (Oracle bug #16363908).<br />
- Fix for Intellisense not available for Views (Oracle bug #16384218).<br />
- Fix for &quot;When saving a new stored procedure, it raises a windows error message&quot;, due to<br />
using definer (Oracle bug #16363828).<br />
- Fix for &quot;The first time a new stored routine is saved, after save, Intellisense doesn't work (Oracle bug #16384238).<br />
- Fix for &quot;Error when saving after changing an existing stored routine name in SQL in the editor&quot; (Oracle bug #16390757).<br />
- Fix for server explorer error opening a remote connection (Oracle bug #16357786).<br />
- Fix for password expiration, new password dialog failed (Oracle bug #16357752).<br />
- Fix for InvalidCastException thrown when executing an stored function (MySql bug #64633, Oracle bug #13864627).<br />
- Fix for Default Command Timeout not applying for EFMySqlCommand (MySql bug #67171, Oracle bug #14825670).<br />
<br />
<br />
The release is available to download at<br />
<a href="http://dev.mysql.com/downloads/connector/net/6.5.html"  rel="nofollow">http://dev.mysql.com/downloads/connector/net/6.5.html</a><br />
<br />
Documentation<br />
You can view current Connector/Net documentation<br />
at <a href="http://dev.mysql.com/doc/refman/5.5/en/connector-net.html"  rel="nofollow">http://dev.mysql.com/doc/refman/5.5/en/connector-net.html</a><br />
<br />
You can find our team blog at <a href="http://blogs.oracle.com/MySQLOnWindows"  rel="nofollow">http://blogs.oracle.com/MySQLOnWindows</a>.<br />
You can also post questions on our forums at <a href="http://forums.mysql.com/"  rel="nofollow">http://forums.mysql.com/</a>.<br />
<br />
Enjoy and thanks for the support!]]></description>
            <dc:creator>Fernando Gonzalez Sanchez</dc:creator>
            <category>.NET</category>
            <pubDate>Sun, 24 Mar 2013 01:11:40 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,582196,582196#msg-582196</guid>
            <title>Error when connecting a new database on VS 2010 (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,582196,582196#msg-582196</link>
            <description><![CDATA[ I followed steps in : <a href="http://dev.mysql.com/doc/refman/5.6/en/connector-net-visual-studio-making-a-connection.html"  rel="nofollow">http://dev.mysql.com/doc/refman/5.6/en/connector-net-visual-studio-making-a-connection.html</a><br />
<br />
it fails on step: 21.3. Add Connection Dialog. <br />
<br />
when i click the database name field it display a messagebox says: &quot;Unable to retreive list of databases&quot;. However if i put a new name on it &amp; click Test Connection an error message occur say: &quot;The system detect an invalid pointer address in attempting to use a pointer argument in a call&quot;.<br />
<br />
I really have no idea, Please , anyone can help &amp; guid me?]]></description>
            <dc:creator>Redouane SOBAIHI</dc:creator>
            <category>.NET</category>
            <pubDate>Sat, 23 Mar 2013 22:29:21 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,582141,582141#msg-582141</guid>
            <title>MySQL Connector/Net 6.7.0 Alpha has been released (7 replies)</title>
            <link>http://forums.mysql.com/read.php?38,582141,582141#msg-582141</link>
            <description><![CDATA[ MySQL Connector/Net 6.7.0, a new version of the all-managed .NET driver for MySQL has been released.  This is the first of two alpha releases intended to introduce users to the new features in the release.  This release is not feature complete and there are significant limitations but it should be stable enough for users to understand the new features and how we expect them to work.  As is the case with all non-GA releases, it should not be used in any production environment.  It is appropriate for use with MySQL server versions 5.0-5.6<br />
<br />
It is now available in source and binary form from <a href="http://dev.mysql.com/downloads/connector/net/#downloads"  rel="nofollow">http://dev.mysql.com/downloads/connector/net/#downloads</a> and mirror sites (note that not all mirror sites may be up to date at this point-if you can't find this version on some mirror, please try again later or choose another download site.)<br />
<br />
The 6.7 version of MySQL Connector/Net brings the following new features:<br />
<br />
-    Load Balancing support.<br />
-    Entity Framework 5.0 support.<br />
-    Memcached support for Innodb Memcached plugin.<br />
-    This version also splits the product in two: from now on, starting version 6.7, Connector/NET will include only the former Connector/NET ADO.NET driver, Entity Framework and ASP.NET providers (Core libraries of MySql.Data, MySql.Data.Entity &amp; MySql.Web). While all the former product Visual Studio integration (Design support, Intellisense, Debugger) will be released in a separated plugin for Visual Studio product.<br />
<br />
Load Balancing Support<br />
-------------------------------------------<br />
Now you can setup a Replication or Cluster configuration in the backend, and Connector/NET will balance the load of queries among all servers making up the backend topology.<br />
<br />
Entity Framework 5.0<br />
-------------------------------------------<br />
Connector/NET is now compatible with EF 5, including special features of EF 5 like spatial types.<br />
A known issue is that in this release you'll need to use MySql.Data.Entity assembly for .NET 4.0 with EF 5, in the future we will include a version of that assembly for .NET 4.5.<br />
<br />
Memcached<br />
-------------------------------------------<br />
Just setup Innodb memcached plugin and use Connector/NET new APIs to establish a client to MySql 5.6 server's memcached daemon.<br />
<br />
Enjoy and thanks for the support!]]></description>
            <dc:creator>Fernando Gonzalez Sanchez</dc:creator>
            <category>.NET</category>
            <pubDate>Thu, 11 Apr 2013 00:07:24 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,582087,582087#msg-582087</guid>
            <title>Help with VBA &amp; mySQL Workbench (3 replies)</title>
            <link>http://forums.mysql.com/read.php?38,582087,582087#msg-582087</link>
            <description><![CDATA[ Hi Guys,<br />
<br />
This is my first post on here so please be nice!<br />
<br />
Firstly let me say that I am new to using mySQL workbench however I have a good knowledge of VB programming.<br />
<br />
I am looking to implement an SQL database that will be accessed using VB code.<br />
<br />
I have found a few websites/forums out there with similiar questions however I still find myself stuck in getting started!<br />
<br />
Currently I am using the following code to create a connection with my SQL server.. (Found on: <a href="http://stackoverflow.com/questions/14575422/open-connection-mysql-vba-excel-2007"  rel="nofollow">http://stackoverflow.com/questions/14575422/open-connection-mysql-vba-excel-2007</a>)<br />
<br />
I have Microsoft ActiveX Objects 6.1 Library Reference currently selected in VBA (Excel), however I have tried the code using the 2.8 Objects library to no avail.<br />
<br />
<pre class="bbcode">
--------------------------------------------
Sub test123()

  ' Connection variables
  Dim conn As New ADODB.Connection
  Dim server_name As String
  Dim database_name As String
  Dim user_id As String
  Dim password As String

  ' Table action variables
  Dim i As Long ' counter
  Dim sqlstr As String ' SQL to perform various actions
  Dim table1 As String, table2 As String
  Dim field1 As String, field2 As String
  Dim rs As ADODB.Recordset
  Dim vtype As Variant

  '----------------------------------------------------------------------
  ' Establish connection to the database
  server_name = &quot;127.0.0.1&quot; ' Enter your server name here - if running from a local       computer use 127.0.0.1
  database_name = &quot;smss&quot; ' Enter your database name here
  user_id = &quot;root&quot; ' enter your user ID here
  password = &quot;&quot; ' Enter your password here

  Set conn = New ADODB.Connection
  conn.Open &quot;DRIVER={MySQL ODBC 5.2a Driver}&quot; _
    &amp; &quot;;SERVER=&quot; &amp; server_name _
    &amp; &quot;;DATABASE=&quot; &amp; database_name _
    &amp; &quot;;UID=&quot; &amp; user_id _
    &amp; &quot;;PWD=&quot; &amp; password _

  ' Extract MySQL table data to first worksheet in the workbook
  GoTo skipextract
  Set rs = New ADODB.Recordset
  sqlstr = &quot;SELECT * FROM inbox&quot; ' extracts all data
  rs.Open sqlstr, conn, adOpenStatic
  With Sheet1(1).Cells ' Enter your sheet name and range here
    .ClearContents
    .CopyFromRecordset rs
  End With
  skipextract:

End Sub
'----------------------------------------------</pre>
<br />
I am using Excel 2013 edition on windows 8, MySQL Workbench v5.2.47<br />
<br />
<br />
<br />
I have created a local server and I am simply wishing to create a connection to this server, retrieve all the values out of one table and paste them onto one excel worksheet.<br />
<br />
The Model file name is &quot;Jordan&quot;, the Table in this Model is titled &quot;Role&quot;<br />
<br />
If you wish for me to provide further details please let me know - this will probably require you explaining how I find/ navigate to them on the mySQL workbench program.<br />
<br />
<br />
If you could please provide some assistance that would be great. I am a quick learner and once I get over this hurdle I will be on my way to developing some interesting Applications using mySQL databases! :)<br />
<br />
Regards<br />
Jordan]]></description>
            <dc:creator>jordan elphick</dc:creator>
            <category>.NET</category>
            <pubDate>Mon, 08 Apr 2013 15:29:01 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,581862,581862#msg-581862</guid>
            <title>AddWithValue (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,581862,581862#msg-581862</link>
            <description><![CDATA[ Hello, everybody.<br />
I am trying to make this simple code to pass actual value to the command parameter. Instead, all I am getting in the table is Null. <br />
<br />
                    CorpConn = New MySqlConnection(MySQLConnectStr)<br />
                    SQL = &quot;INSERT INTO Log_Staff_LoginTime&quot; + _<br />
                         &quot;      (CallName) VALUES(@CallName);&quot;<br />
                    WrkCmd = New MySqlCommand(SQL, CorpConn)<br />
                    WrkCmd.Parameters.AddWithValue(&quot;@CallName&quot;, &quot;John&quot;)<br />
                    CorpConn.Open()<br />
                    WrkCmd.ExecuteNonQuery()<br />
                    CorpConn.Close()<br />
<br />
Even if my life depended on it, I can't see what I am doing wrong here. Please help!!!<br />
Larry]]></description>
            <dc:creator>Lawrence Lomazov</dc:creator>
            <category>.NET</category>
            <pubDate>Wed, 20 Mar 2013 17:50:12 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,581527,581527#msg-581527</guid>
            <title>C# error connect MySql on windows 8 (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,581527,581527#msg-581527</link>
            <description><![CDATA[ DEAR SRI<br />
<br />
          I Programming C# connect MySQL on windows8. Program Cannot connect to MySQL <br />
<br />
Exp Code: <br />
<br />
string _myconString = &quot;Server=localhost;Database=set;Uid=root;Pwd=password;&quot;;]]></description>
            <dc:creator>Chinakrit Tansatun</dc:creator>
            <category>.NET</category>
            <pubDate>Sun, 17 Mar 2013 18:50:59 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,581509,581509#msg-581509</guid>
            <title>TimeZone in Connection String Parameters (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,581509,581509#msg-581509</link>
            <description><![CDATA[ Is there any such feature to set the timezone in the connection string? Or perhaps session variables?<br />
<br />
I didn't find much in the docs for the .NET Connector, but I might have missed it. I know such a feature exists in the Java Connector for setting session variables per connection. My intention is simply to set the time_zone to UTC per connection rather than forcing the setting in the server.]]></description>
            <dc:creator>Nicholas Schell</dc:creator>
            <category>.NET</category>
            <pubDate>Sat, 16 Mar 2013 00:47:35 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,581169,581169#msg-581169</guid>
            <title>Default values - VB.NET (3 replies)</title>
            <link>http://forums.mysql.com/read.php?38,581169,581169#msg-581169</link>
            <description><![CDATA[ I am using the 6.6.5 MySql.data connector.<br />
One of the fields is defined as a smallint with a default of 180.<br />
If I create a record with the MySql Query browser (and don't enterthis field). It yields the value of 180.<br />
If I edit using VB.NET and a DataGridView, the new record is null.<br />
How do I get the connector to respect the default values?<br />
<br />
Thanks,<br />
<br />
Gary]]></description>
            <dc:creator>Gary Kahrau</dc:creator>
            <category>.NET</category>
            <pubDate>Wed, 13 Mar 2013 18:45:31 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,580868,580868#msg-580868</guid>
            <title>Host '192.168.1.5' is not allowed to connect to this MySQL server (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,580868,580868#msg-580868</link>
            <description><![CDATA[ Hi,<br />
<br />
Im trying to connect the MySQL Database from ASP.NET web application to another machine. Im unable to connect that machine using MySQL Workbench.<br />
<br />
Connection String:<br />
------------------<br />
&lt;connectionStrings&gt;<br />
&lt;add name=&quot;MySqlDBConnection&quot; providerName=&quot;MySql.Data.MySqlClient&quot; connectionString=&quot;Server=192.168.1.5,Port=3306;database=databasename;Character Set=utf8;User id=root;password=password;&quot;/&gt;<br />
&lt;/connectionStrings&gt;<br />
<br />
I gave permission to the database im trying to connect as below<br />
mysql&gt; use mysql; // also i gave to current database im connection<br />
mysql&gt; GRANT ALL ON *.* to root@'192.168.1.5' IDENTIFIED BY 'password'; <br />
mysql&gt; FLUSH PRIVILEGES;<br />
<br />
Please let me know what went wrong in connecting to the database from my ASP.NET application, but the application is connecting by using local MySQL database.<br />
<br />
Thnks,<br />
Senthil.]]></description>
            <dc:creator>Senthil V</dc:creator>
            <category>.NET</category>
            <pubDate>Sat, 09 Mar 2013 22:25:42 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,580590,580590#msg-580590</guid>
            <title>On Demand Starting of MySQL Instance (5 replies)</title>
            <link>http://forums.mysql.com/read.php?38,580590,580590#msg-580590</link>
            <description><![CDATA[ I have a few users who currently have at least one MySQL database running on their machines.  I am working on a program in VB.Net 2010 that needs a database to store information.  I have been reading that it is possible to have more than one instance of the MySQL server running.<br />
<br />
I have been experimenting but cannot figure out how to start an instance of MySQL with VB 2010 on demand.  I believe that I have to start my instance with it's own port and since the other databases run on the default port 3306, I was thinking I should use a different one.  I am not sure how to pass the correct options to the mysqld program.  I am not sure if I should be using a --defaults-file option or --init-file option.<br />
<br />
Can someone point me in the right direction with some VB code and which port I should use?  I need to be able to start my own server as well as stop it without interrupting the other MySQL instance.  TIA, rasinc]]></description>
            <dc:creator>rasinc rasinc</dc:creator>
            <category>.NET</category>
            <pubDate>Thu, 07 Mar 2013 16:45:16 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,580572,580572#msg-580572</guid>
            <title>Connection in Medium Trust Site (7 replies)</title>
            <link>http://forums.mysql.com/read.php?38,580572,580572#msg-580572</link>
            <description><![CDATA[ I just installed .Net Connector 6.6.5 and have tried to connect to a MySql database locally and deployed to my site but get the error message: <br />
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.<br />
I’m using Asp.net with a one page application which only try’s to connect to a database. I’m not using Entity Framework or any other third party tools.<br />
From what I have read the provider must configure their server to allow the 6.6.5 connector to work. However my provider (Go Daddy) will not make any changes in the shared environment so it looks like that option will not work. <br />
I also installed the latest version of the “Workbench” and have been able to connect, make changes to the schema and query the database. How is the Workbench software connecting?<br />
I have read numerous articles describing how to modify source and recompile but I’m not interested in using outdated or hacked software.<br />
Can anyone direct me to a working sample Asp.net application which will connect, query and update data in a MySql database?<br />
Thank you <br />
Terry c.]]></description>
            <dc:creator>Terry Carroll</dc:creator>
            <category>.NET</category>
            <pubDate>Tue, 05 Mar 2013 21:10:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,580106,580106#msg-580106</guid>
            <title>Unable to convert MySQL date/time value to System.DateTime (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,580106,580106#msg-580106</link>
            <description><![CDATA[ Hi,<br />
<br />
I am getting &quot; Unable to convert MySQL date/time value to System.DateTime&quot; Error. Even I have added &quot;Allow Zero Datetime=true&quot; to connection string.<br />
<br />
I am using MYSQL 5.1.48 version and .NET 4.0.3 for building application.<br />
<br />
Even data in DB also good. Please help what might be causing the error.<br />
<br />
<br />
Thanks<br />
Umesh]]></description>
            <dc:creator>umesh bp</dc:creator>
            <category>.NET</category>
            <pubDate>Wed, 27 Feb 2013 18:55:14 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,580094,580094#msg-580094</guid>
            <title>Unknown column 'Distinct1.nCdSite' in 'where clause' (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,580094,580094#msg-580094</link>
            <description><![CDATA[ Good evening, I'm two days trying to solve this problem and got nothing. I am suspicious that it is a bug, could someone help me? I am getting the following error message.<br />
<br />
Unknown column 'Distinct1.nCdSite' in 'where clause'<br />
<br />
[MySqlException (0x80004005): Unknown column 'Distinct1.nCdSite' in 'where clause']<br />
   MySql.Data.MySqlClient.MySqlStream.ReadPacket() +501<br />
   MySql.Data.MySqlClient.NativeDriver.GetResult(Int32&amp; affectedRow, Int64&amp; insertedId) +450<br />
   MySql.Data.MySqlClient.Driver.NextResult(Int32 statementId, Boolean force) +136<br />
   MySql.Data.MySqlClient.MySqlDataReader.NextResult() +1269<br />
   MySql.Data.MySqlClient.MySqlCommand.ExecuteReader(CommandBehavior behavior) +2528<br />
   MySql.Data.Entity.EFMySqlCommand.ExecuteDbDataReader(CommandBehavior behavior) +22<br />
.<br />
.<br />
.<br />
<br />
I have the following code<br />
<br />
 [Table(&quot;pagina&quot;)]<br />
    public class pagina<br />
    {<br />
        [Key]<br />
        public long nCdPagina { get; set; }<br />
        public long nCdVisitante { get; set; }<br />
        public string sDsUrlReferencia   { get; set; }<br />
        public string sDsPalavraChave { get; set; }<br />
        public string sDsTitulo { get; set; }<br />
<br />
        [ForeignKey(&quot;nCdVisitante&quot;)]<br />
        public visitante visitante { get; set; }<br />
    }<br />
<br />
 public class retorno<br />
    {<br />
        public long Key { get; set; }<br />
        public int Online { get; set; }<br />
    }<br />
<br />
    [Table(&quot;site&quot;)]<br />
    public class site<br />
    {<br />
        [Key]<br />
        public long nCdSite { get; set; }<br />
        public string sDsTitulo { get; set; }<br />
        public string sDsUrl { get; set; }<br />
        public DateTime tDtCadastro { get; set; }<br />
    }<br />
}<br />
<br />
[Table(&quot;visitante&quot;)]<br />
    public class visitante<br />
    {<br />
        [Key]<br />
        public long nCdVisitante { get; set; }<br />
        public long nCdSite { get; set; }<br />
        public string sDsIp { get; set; }<br />
        public DateTime tDtCadastro { get; set; }<br />
        public DateTime tDtAtualizacao { get; set; }<br />
<br />
        [ForeignKey(&quot;nCdSite&quot;)]<br />
        public site site { get; set; }<br />
    }<br />
<br />
<br />
return (from pag in this.context.pagina.Include(&quot;visitante&quot;).Include(&quot;site&quot;)<br />
                    group pag by pag.visitante.nCdSite into g<br />
                    select new retorno<br />
                    {<br />
                        Key = g.Key,<br />
                        Online = g.Select(e =&gt; e.visitante.sDsIp).Distinct().Count()<br />
                    }).ToList&lt;retorno&gt;();<br />
<br />
The problem only occurs when I place. Distinct (). Count () if let alone. Count () works perfectly.<br />
<br />
Help please]]></description>
            <dc:creator>Fabricio famadori</dc:creator>
            <category>.NET</category>
            <pubDate>Wed, 27 Feb 2013 23:43:24 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,580086,580086#msg-580086</guid>
            <title>ENTRY POINT NOT FOUND (2 replies)</title>
            <link>http://forums.mysql.com/read.php?38,580086,580086#msg-580086</link>
            <description><![CDATA[ I am getting an error everytime I try to execute a stored procedure from a C# program. The error is &quot;Entry point not found.&quot; Here is the code:<br />
MySqlCommand cmd = new MySqlCommand(&quot;UPDATEBLOB&quot;, db.msConn);<br />
                                cmd.CommandType = System.Data.CommandType.StoredProcedure;<br />
                                cmd.Parameters.Add(new MySqlParameter(&quot;uniqueKey&quot;, ct.uniqueKey));<br />
                                cmd.Parameters.Add(new MySqlParameter(&quot;blobData&quot;, createBlob(ct.actualFileLocation)));<br />
                                int rc = cmd.ExecuteNonQuery();<br />
<br />
On the last line (ExecuteNoNQuery) is where I get this error. I have uninstalled and reinstalled MYSQL, checked all of the DLL's and cannot find the reason for this. Does anyone have any ideas? (Please). I have checked and am using 6.6.5 of the connectors - i.e. C:\Program Files\MySQL\MySQL Connector Net 6.6.5\Assemblies\v4.0\MySql.Data.dll]]></description>
            <dc:creator>HAMISH REDMOND</dc:creator>
            <category>.NET</category>
            <pubDate>Wed, 03 Apr 2013 00:53:32 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,579848,579848#msg-579848</guid>
            <title>Reading from the stream has failed (5 replies)</title>
            <link>http://forums.mysql.com/read.php?38,579848,579848#msg-579848</link>
            <description><![CDATA[ Hello,<br />
<br />
I am reading the results from a select statement and fairly quickly I get this exception.<br />
<br />
Precautions I have taken:<br />
<br />
All data is in UTF8_general_ci<br />
Connection character set is UTF8_general_ci<br />
Database server Character set is UTF8_general_ci.<br />
<br />
The error occurs at the same result every time.<br />
If I change something to the collation the exception occurs at another result.<br />
<br />
Server : 5.5.28<br />
.Net Connector 6.6.5<br />
<br />
Running the same select in MySql workbench 5.2.44CE returns all results.<br />
<br />
Exception trace:<br />
<br />
-		$exception	{&quot;Fatal error encountered during data read.&quot;}	System.Exception {MySql.Data.MySqlClient.MySqlException}<br />
+		[MySql.Data.MySqlClient.MySqlException]	{&quot;Fatal error encountered during data read.&quot;}	MySql.Data.MySqlClient.MySqlException<br />
+		Data	{System.Collections.ListDictionaryInternal}	System.Collections.IDictionary {System.Collections.ListDictionaryInternal}<br />
		HelpLink	null	string<br />
		HResult	-2147467259	int<br />
-		InnerException	{&quot;Reading from the stream has failed.&quot;}	System.Exception {MySql.Data.MySqlClient.MySqlException}<br />
+		[MySql.Data.MySqlClient.MySqlException]	{&quot;Reading from the stream has failed.&quot;}	MySql.Data.MySqlClient.MySqlException<br />
+		Data	{System.Collections.ListDictionaryInternal}	System.Collections.IDictionary {System.Collections.ListDictionaryInternal}<br />
		HelpLink	null	string<br />
		HResult	-2147467259	int<br />
-		InnerException	{&quot;Poging voorbij het einde van de stroom te lezen.&quot;}	System.Exception {System.IO.EndOfStreamException}<br />
+		[System.IO.EndOfStreamException]	{&quot;Poging voorbij het einde van de stroom te lezen.&quot;}	System.IO.EndOfStreamException<br />
+		Data	{System.Collections.ListDictionaryInternal}	System.Collections.IDictionary {System.Collections.ListDictionaryInternal}<br />
		HelpLink	null	string<br />
		HResult	-2147024858	int<br />
+		InnerException	null	System.Exception<br />
		Message	&quot;Poging voorbij het einde van de stroom te lezen.&quot;	string<br />
		Source	&quot;MySql.Data&quot;	string<br />
		StackTrace	&quot;   bij MySql.Data.MySqlClient.MySqlStream.ReadFully(Stream stream, Byte[] buffer, Int32 offset, Int32 count)\r\n   bij MySql.Data.MySqlClient.MySqlStream.LoadPacket()&quot;	string<br />
+		TargetSite	{Void ReadFully(System.IO.Stream, Byte[], Int32, Int32)}	System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}<br />
+		Static members		<br />
+		Non-Public members		<br />
		Message	&quot;Reading from the stream has failed.&quot;	string<br />
		Source	&quot;MySql.Data&quot;	string<br />
		StackTrace	&quot;   bij MySql.Data.MySqlClient.MySqlStream.LoadPacket()\r\n   bij MySql.Data.MySqlClient.MySqlStream.ReadPacket()\r\n   bij MySql.Data.MySqlClient.NativeDriver.FetchDataRow(Int32 statementId, Int32 columns)\r\n   bij MySql.Data.MySqlClient.Driver.FetchDataRow(Int32 statementId, Int32 columns)\r\n   bij MySql.Data.MySqlClient.ResultSet.GetNextRow()\r\n   bij MySql.Data.MySqlClient.ResultSet.NextRow(CommandBehavior behavior)\r\n   bij MySql.Data.MySqlClient.MySqlDataReader.Read()&quot;	string<br />
+		TargetSite	{Void LoadPacket()}	System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}<br />
+		Static members		<br />
+		Non-Public members		<br />
		Message	&quot;Fatal error encountered during data read.&quot;	string<br />
		Source	&quot;MySql.Data&quot;	string<br />
		StackTrace	&quot;   bij MySql.Data.MySqlClient.MySqlDataReader.Read()\r\n   bij Videotheek.Interresting.Interresting_Shown(Object sender, EventArgs e) in c:\\Users\\Lambert\\Documents\\Visual Studio 2012\\Projects\\Videotheek\\Interresting.cs:regel 81\r\n   bij System.Windows.Forms.Form.OnShown(EventArgs e)\r\n   bij System.Windows.Forms.Form.CallShownEvent()\r\n   bij System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme)\r\n   bij System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj)\r\n   bij System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)\r\n   bij System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   bij System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme)\r\n   bij System.Windows.Forms.Control.InvokeMarshaledCallbacks()\r\n   bij System.Windows.Forms.Control.WndProc(Message&amp; m)\r\n   bij System.Windows.Forms.ScrollableControl.WndProc(Message&amp; m)\r\n   bij System.Windows.Forms.ContainerControl.WndProc(Message&amp; m)\r\n   bij System.Windows.Forms.Form.WndProc(Message&amp; m)\r\n   bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)\r\n   bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)\r\n   bij System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n   bij System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; msg)\r\n   bij System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)\r\n   bij System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n   bij System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n   bij System.Windows.Forms.Application.RunDialog(Form form)\r\n   bij System.Windows.Forms.Form.ShowDialog(IWin32Window owner)\r\n   bij System.Windows.Forms.Form.ShowDialog()\r\n   bij Videotheek.Form1.radioButton1_CheckedChanged_1(Object sender, EventArgs e) in c:\\Users\\Lambert\\Documents\\Visual Studio 2012\\Projects\\Videotheek\\Form1.cs:regel 274\r\n   bij System.Windows.Forms.RadioButton.OnCheckedChanged(EventArgs e)\r\n   bij System.Windows.Forms.RadioButton.set_Checked(Boolean value)\r\n   bij System.Windows.Forms.RadioButton.OnClick(EventArgs e)\r\n   bij System.Windows.Forms.RadioButton.OnMouseUp(MouseEventArgs mevent)\r\n   bij System.Windows.Forms.Control.WmMouseUp(Message&amp; m, MouseButtons button, Int32 clicks)\r\n   bij System.Windows.Forms.Control.WndProc(Message&amp; m)\r\n   bij System.Windows.Forms.ButtonBase.WndProc(Message&amp; m)\r\n   bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message&amp; m)\r\n   bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message&amp; m)\r\n   bij System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)\r\n   bij System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&amp; msg)\r\n   bij System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)\r\n   bij System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)\r\n   bij System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)\r\n   bij System.Windows.Forms.Application.Run(Form mainForm)\r\n   bij Videotheek.Program.Main() in c:\\Users\\Lambert\\Documents\\Visual Studio 2012\\Projects\\Videotheek\\Program.cs:regel 19&quot;	string<br />
+		TargetSite	{Boolean Read()}	System.Reflection.MethodBase {System.Reflection.RuntimeMethodInfo}<br />
+		Static members		<br />
+		Non-Public members		<br />
+		this	{Videotheek.Interresting, Text: Interresting}	Videotheek.Interresting<br />
+		sender	{Videotheek.Interresting, Text: Interresting}	object {Videotheek.Interresting}<br />
+		e	{System.EventArgs}	System.EventArgs<br />
		bFirst	false	bool<br />
		nOld	0	int<br />
		IdActor	0	int<br />
		Age	0	int<br />
		Gender	0	int<br />
		Year	0	int<br />
		nRef	1	int<br />
		t1	null	string<br />
<br />
<br />
Database Create Statements: <br />
CREATE TABLE `tempresults` (<br />
  `MovieId` int(11) NOT NULL,<br />
  `IdActor` int(11) NOT NULL,<br />
  `age` int(11) NOT NULL DEFAULT '0',<br />
  `dob` date NOT NULL DEFAULT '1900-01-01',<br />
  `Year` year(4) NOT NULL DEFAULT '1901',<br />
  `Gender` int(1) NOT NULL DEFAULT '0',<br />
  PRIMARY KEY (`MovieId`,`IdActor`)<br />
) ENGINE=InnoDB DEFAULT CHARSET=utf8<br />
<br />
CREATE TABLE `refmovie` (<br />
  `MovieId` int(11) NOT NULL,<br />
  `MovieName` varchar(200) NOT NULL,<br />
  `Description` longtext,<br />
  `Year` year(4) DEFAULT NULL,<br />
  `Link` varchar(100) NOT NULL,<br />
  `Completed` bit(1) NOT NULL,<br />
  PRIMARY KEY (`MovieId`)<br />
) ENGINE=InnoDB DEFAULT CHARSET=utf8<br />
<br />
CREATE TABLE `actor` (<br />
  `IdActor` int(11) NOT NULL,<br />
  `NameActor` varchar(120) NOT NULL,<br />
  `dob` date DEFAULT NULL,<br />
  `alive` bit(1) DEFAULT NULL,<br />
  `Gender` bit(1) DEFAULT NULL,<br />
  `LifeStory` longtext,<br />
  `Completed` bit(1) DEFAULT NULL,<br />
  `dod` date DEFAULT NULL,<br />
  `Link` varchar(50) DEFAULT NULL,<br />
  PRIMARY KEY (`IdActor`),<br />
  KEY `Name` (`NameActor`) USING HASH,<br />
  KEY `Link` (`Link`)<br />
) ENGINE=InnoDB DEFAULT CHARSET=utf8<br />
<br />
CREATE TABLE `actorbyrefmovie` (<br />
  `idActor` int(11) NOT NULL,<br />
  `MovieId` int(11) NOT NULL,<br />
  `Act` longtext,<br />
  PRIMARY KEY (`idActor`,`MovieId`),<br />
  KEY `IdActor` (`idActor`) USING HASH,<br />
  KEY `IdMovie` (`MovieId`) USING HASH<br />
) ENGINE=InnoDB DEFAULT CHARSET=utf8<br />
<br />
Piece of code:<br />
<br />
using System;<br />
using System.Collections.Generic;<br />
using System.ComponentModel;<br />
using System.Data;<br />
using System.Drawing;<br />
using System.Linq;<br />
using System.Text;<br />
using MySql.Data.MySqlClient;<br />
using System.Threading;<br />
using System.Windows.Forms;<br />
<br />
namespace Videotheek<br />
{<br />
    public partial class Interresting : Form<br />
    {<br />
        public bool bRebuild = false;<br />
        MySqlConnection conn = new MySqlConnection(Form1.sqlconnect);<br />
        MySqlConnection conn1 = new MySqlConnection(Form1.sqlconnect);<br />
        MySqlCommand cmd1 = new MySqlCommand();<br />
        MySqlCommand cmd = new MySqlCommand();<br />
        MySqlDataReader s,s1;<br />
        int LastIdActor = 0;<br />
                 int MovieId = 0;<br />
                int nCount = 0;<br />
                int nYoung = 0;<br />
                int nAll = 0;<br />
                int nUn = 0;<br />
                int nYear = 0;<br />
       public Interresting()<br />
        {<br />
            InitializeComponent();<br />
            conn.Open();<br />
            cmd.Connection = conn;<br />
            cmd.CommandTimeout = 0;<br />
            cmd.CommandText = &quot;set net_write_timeout=&quot; + Timeout.Infinite + &quot;; set net_read_timeout=&quot; + Timeout.Infinite + &quot;; Set Character_Set_Connection='UTF8'; set Collation_connection='utf8_general_ci';&quot;;<br />
            cmd.ExecuteNonQuery();<br />
            conn1.Open();<br />
            cmd1.Connection = conn1;<br />
            cmd1.CommandTimeout = 0;<br />
            cmd1.CommandText = &quot;set net_write_timeout=&quot; + Timeout.Infinite + &quot;; set net_read_timeout=&quot; + Timeout.Infinite + &quot;; Set Character_Set_connection='UTF8'; set collation_connection='utf8_general_ci';&quot;;<br />
            cmd1.ExecuteNonQuery();<br />
        }<br />
<br />
        private void Interresting_Shown(object sender, EventArgs e)<br />
        {<br />
            cmd.CommandText = &quot;Lock table Actor read;&quot;;<br />
            cmd.ExecuteNonQuery();<br />
            cmd.CommandText = &quot;Select IdActor from Actor order by IdActor desc limit 1;&quot;;<br />
            s = cmd.ExecuteReader();<br />
            s.Read();<br />
            LastIdActor = Convert.ToInt32(s[0].ToString());<br />
            s.Close();<br />
            int IdActor;<br />
            int Age=0;<br />
            int Gender;<br />
            int Year;<br />
            cmd.CommandText = &quot;Unlock tables;&quot;;<br />
            cmd.ExecuteNonQuery();<br />
            int nRef = 1;<br />
            string t1;<br />
            if (bRebuild)<br />
            {<br />
/*                try<br />
                {<br />
                    cmd.CommandText = &quot;drop table tempresults;&quot;;<br />
                    cmd.ExecuteNonQuery();<br />
                }<br />
                catch<br />
                {<br />
                }<br />
*/                cmd.CommandText=&quot;SET sql_mode='NO_UNSIGNED_SUBTRACTION';&quot;;<br />
                cmd.ExecuteNonQuery();<br />
                cmd.CommandText = &quot;delete from tempresults;&quot;;<br />
                cmd.ExecuteNonQuery();<br />
                cmd.CommandText = &quot;Unlock tables;&quot;;<br />
                cmd.ExecuteNonQuery();<br />
                cmd1.CommandText = &quot;Lock table tempresults write;&quot;;<br />
                cmd1.ExecuteNonQuery();<br />
                cmd.CommandText = &quot;Select ActorByRefMovie.MovieId, ActorByRefMovie.IdActor, Refmovie.Year-Year(Actor.dob) as `age`,Actor.dob as `dob`,RefMovie.Year as `Year`,ACtor.Gender as `Gender` from ActorByRefMovie inner join Actor on ActorByRefmovie.IDactor=Actor.IdActor inner join RefMovie on Actorbyrefmovie.MovieId=refmovie.MovieId;&quot;;<br />
                s = cmd.ExecuteReader();<br />
                while (s.Read())<br />
                {<br />
                    cmd1.CommandText = &quot;Insert into Tempresults (MovieId, Idactor,age,dob,Year,Gender) values(&quot; + Convert.ToInt32(s[0].ToString()).ToString() + &quot;,&quot; + Convert.ToInt32(s[1].ToString()).ToString() + &quot;,&quot; +<br />
                        Convert.ToInt32(s[2].ToString()).ToString() + &quot;,'&quot; + HtmlDecode.ConvertDate(s[3].ToString()) + &quot;',&quot; + Convert.ToInt32(s[4].ToString()).ToString() + &quot;,&quot; + Convert.ToInt32(s[5].ToString()).ToString() + &quot;);&quot;;<br />
                    cmd1.ExecuteNonQuery();               // errror occurs here after 1480 records read out of roughly 6M(illion) records. <br />
                }<br />
                s.Close();<br />
                cmd1.CommandText = &quot;Unlock tables;&quot;;<br />
                cmd1.ExecuteNonQuery();<br />
<br />
Has anybody got a clue why I get this exception?<br />
Workbench finishes ok.<br />
<br />
Thanks for any help<br />
Lambert]]></description>
            <dc:creator>Lambert Knapen</dc:creator>
            <category>.NET</category>
            <pubDate>Mon, 04 Mar 2013 22:16:06 +0000</pubDate>
        </item>
        <item>
            <guid>http://forums.mysql.com/read.php?38,579470,579470#msg-579470</guid>
            <title>Data Entity Model (1 reply)</title>
            <link>http://forums.mysql.com/read.php?38,579470,579470#msg-579470</link>
            <description><![CDATA[ Simple SELECT queries run with an Ado.net Entity Data Model connection to mySQL is slow slow slow (6ish sec). The same queries connected with a MySQLConnection in less than a second. <br />
I've seem the problem all over the net, has anyone figured a way to use an ADO.net Data Entity Model with MySQL at normal speeds?]]></description>
            <dc:creator>Gunther G</dc:creator>
            <category>.NET</category>
            <pubDate>Tue, 19 Feb 2013 23:07:37 +0000</pubDate>
        </item>
    </channel>
</rss>
