<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
> <channel><title>Comments on: MySQL Gotchas for .NET Developers</title> <atom:link href="http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/feed/" rel="self" type="application/rss+xml" /><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/</link> <description>The New Thing</description> <lastBuildDate>Thu, 23 Dec 2010 19:55:49 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Brian</title><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/comment-page-1/#comment-818</link> <dc:creator>Brian</dc:creator> <pubDate>Wed, 14 Feb 2007 18:32:31 +0000</pubDate> <guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=502#comment-818</guid> <description>I&#039;m interested in a .Net/MySQL event, prefer East US or SouthEast.I&#039;ve been using MySQL 4.1 and ASP for quite a while. I recently started making .Net 2.0 pages that use the same MySQL Db. One problem I continue to have is mysql server flips out and quits. It happens at least once a month, sometimes more often.I really want to use MySQL 5.0 in the next version of our website which will be completely .Net 2.0 (VB). I think Microsoft continues to make a mistake limiting their free database. Development using SQL Server is much easier and more stable in my experience than MySQL. But I admit I don&#039;t know many people using this mix either. If MySQL was rock solid stable like SQL SErver I would prefer to use it. I find it hard to justify over $6k for a dual server setup with redundancy.Sorry to ramble on but I stubled upon your website and wanted to put my name in the hat for the .Net/MySQL conference.&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-818&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>I&#8217;m interested in a .Net/MySQL event, prefer East US or SouthEast.</p><p>I&#8217;ve been using MySQL 4.1 and ASP for quite a while. I recently started making .Net 2.0 pages that use the same MySQL Db. One problem I continue to have is mysql server flips out and quits. It happens at least once a month, sometimes more often.</p><p>I really want to use MySQL 5.0 in the next version of our website which will be completely .Net 2.0 (VB). I think Microsoft continues to make a mistake limiting their free database. Development using SQL Server is much easier and more stable in my experience than MySQL. But I admit I don&#8217;t know many people using this mix either. If MySQL was rock solid stable like SQL SErver I would prefer to use it. I find it hard to justify over $6k for a dual server setup with redundancy.</p><p>Sorry to ramble on but I stubled upon your website and wanted to put my name in the hat for the .Net/MySQL conference.<p
class="top-comments">Current score: <span
class="top-comments-karma" id="karma-818">0</span> <small>(to vote for this comment, please visit the site)</small></p> ]]></content:encoded> </item> <item><title>By: Paul</title><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/comment-page-1/#comment-817</link> <dc:creator>Paul</dc:creator> <pubDate>Fri, 17 Nov 2006 15:29:23 +0000</pubDate> <guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=502#comment-817</guid> <description>I&#039;m beginning to experiment by porting a few programs from the C#/MS SQL Server environment. Here&#039;s a few more things to add to your list.The &quot;MySQL Connector .NET&quot; also incorporates the &quot;Microsoft Application Blocks for .NET&quot; which makes porting  easier if your original application uses this layer.During the port, I discovered that direct SQL statements with parameters use &quot;?&quot; instead of the &quot;@&quot; that we are all familiar with.Also you need to choose your database engine per a table. This is a neat feature of MySql that treats SQL statements like an standardized &quot;API&quot; into the database engine.The common ones are MyIsam and InnoDB.  I believe MyISAM is the default.   One is good for read mostly apps like Blogs (MyIsam) and has full text   search VERSES Read/Write Transaction apps like shopping carts, auctions (Innodb)  InnoDb has  no Full text search support.By the way InnoDb is the engine that Oracle bought the intellectual property rights to last year.  So it has been a concern in the MySql world.   I was waiting for the longest time for the Falcon engine which MySQL is developing from their own acquisition (as a knee jerk response to the Oracle purchase) but it looks like its not coming anytime soon as it was promised to delivered by the end of this year.Either way  I believe MySql/InnoDB-Oracle should be a hell of lot cheaper than what Microsoft charges for their database today and in the future.  So I plan to use InnoDB when situation calls for it.&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-817&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>I&#8217;m beginning to experiment by porting a few programs from the C#/MS SQL Server environment. Here&#8217;s a few more things to add to your list.</p><p>The &#8220;MySQL Connector .NET&#8221; also incorporates the &#8220;Microsoft Application Blocks for .NET&#8221; which makes porting  easier if your original application uses this layer.</p><p>During the port, I discovered that direct SQL statements with parameters use &#8220;?&#8221; instead of the &#8220;@&#8221; that we are all familiar with.</p><p>Also you need to choose your database engine per a table. This is a neat feature of MySql that treats SQL statements like an standardized &#8220;API&#8221; into the database engine.</p><p>The common ones are MyIsam and InnoDB.  I believe MyISAM is the default.   One is good for read mostly apps like Blogs (MyIsam) and has full text   search VERSES Read/Write Transaction apps like shopping carts, auctions (Innodb)  InnoDb has  no Full text search support.</p><p>By the way InnoDb is the engine that Oracle bought the intellectual property rights to last year.  So it has been a concern in the MySql world.   I was waiting for the longest time for the Falcon engine which MySQL is developing from their own acquisition (as a knee jerk response to the Oracle purchase) but it looks like its not coming anytime soon as it was promised to delivered by the end of this year.</p><p>Either way  I believe MySql/InnoDB-Oracle should be a hell of lot cheaper than what Microsoft charges for their database today and in the future.  So I plan to use InnoDB when situation calls for it.<p
class="top-comments">Current score: <span
class="top-comments-karma" id="karma-817">0</span> <small>(to vote for this comment, please visit the site)</small></p> ]]></content:encoded> </item> <item><title>By: Jeffrey McManus</title><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/comment-page-1/#comment-816</link> <dc:creator>Jeffrey McManus</dc:creator> <pubDate>Fri, 17 Nov 2006 09:48:02 +0000</pubDate> <guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=502#comment-816</guid> <description>Wild! You must be using the ODBC driver then?Thanks for the tip on HeidiSQL, Pete, I am trying it out and it looks cool.I&#039;m pitching a MySQL/.NET talk to a 2007 developer conference, fingers crossed.&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-816&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>Wild! You must be using the ODBC driver then?</p><p>Thanks for the tip on HeidiSQL, Pete, I am trying it out and it looks cool.</p><p>I&#8217;m pitching a MySQL/.NET talk to a 2007 developer conference, fingers crossed.<p
class="top-comments">Current score: <span
class="top-comments-karma" id="karma-816">0</span> <small>(to vote for this comment, please visit the site)</small></p> ]]></content:encoded> </item> <item><title>By: Roberto Jiménez</title><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/comment-page-1/#comment-815</link> <dc:creator>Roberto Jiménez</dc:creator> <pubDate>Fri, 17 Nov 2006 09:33:32 +0000</pubDate> <guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=502#comment-815</guid> <description>I have been working with VB6 + MySQL since a year ago and it works greate!&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-815&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>I have been working with VB6 + MySQL since a year ago and it works greate!<p
class="top-comments">Current score: <span
class="top-comments-karma" id="karma-815">0</span> <small>(to vote for this comment, please visit the site)</small></p> ]]></content:encoded> </item> <item><title>By: Pete</title><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/comment-page-1/#comment-814</link> <dc:creator>Pete</dc:creator> <pubDate>Thu, 16 Nov 2006 07:01:19 +0000</pubDate> <guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=502#comment-814</guid> <description>If you are looking for a MySQL GUI give Heidi SQL a try....
&lt;a href=&quot;http://www.heidisql.com/&quot; rel=&quot;nofollow&quot;&gt;http://www.heidisql.com/&lt;/a&gt;&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-814&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>If you are looking for a MySQL GUI give Heidi SQL a try&#8230;.<br
/> <a
href="http://www.heidisql.com/" rel="nofollow">http://www.heidisql.com/</a><p
class="top-comments">Current score: <span
class="top-comments-karma" id="karma-814">0</span> <small>(to vote for this comment, please visit the site)</small></p> ]]></content:encoded> </item> <item><title>By: Jeffrey McManus</title><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/comment-page-1/#comment-813</link> <dc:creator>Jeffrey McManus</dc:creator> <pubDate>Tue, 14 Nov 2006 10:14:57 +0000</pubDate> <guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=502#comment-813</guid> <description>I updated the post to include your feedback, Reggie, thanks!I will do a follow-up post on GUI tools soon, but in a nutshell, I&#039;ve been pretty happy with MySQL Administrator and MySQL Query Browser. There are some tricks (like, it took me four months to realize that you could edit records in Query Browser and I&#039;m not wild about the way that Query Browser provides complex query authoring -- I miss Microsoft Access-style graphical joins and QBE).&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-813&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>I updated the post to include your feedback, Reggie, thanks!</p><p>I will do a follow-up post on GUI tools soon, but in a nutshell, I&#8217;ve been pretty happy with MySQL Administrator and MySQL Query Browser. There are some tricks (like, it took me four months to realize that you could edit records in Query Browser and I&#8217;m not wild about the way that Query Browser provides complex query authoring &#8212; I miss Microsoft Access-style graphical joins and QBE).<p
class="top-comments">Current score: <span
class="top-comments-karma" id="karma-813">0</span> <small>(to vote for this comment, please visit the site)</small></p> ]]></content:encoded> </item> <item><title>By: Reggie</title><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/comment-page-1/#comment-812</link> <dc:creator>Reggie</dc:creator> <pubDate>Tue, 14 Nov 2006 05:17:36 +0000</pubDate> <guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=502#comment-812</guid> <description>JeffreyThanks for the positive post about the provider. The datetime issue is related to System.DateTime not supporting values &lt; 1/1/1 while MySQL can support 0/0/0 has a date.As for returning null values, please check SqlClient and OracleClient.  They both require you to call IsDBNull to check for a fields nullness.  The only method that could return null would be GetString().  It just made sense to me to mirror what is done in the SQL Server and Oracle providers.  I hope you give Connector/Net 5.0 a second chance.&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-812&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>Jeffrey</p><p>Thanks for the positive post about the provider. The datetime issue is related to System.DateTime not supporting values < 1/1/1 while MySQL can support 0/0/0 has a date.</p><p>As for returning null values, please check SqlClient and OracleClient.  They both require you to call IsDBNull to check for a fields nullness.  The only method that could return null would be GetString().  It just made sense to me to mirror what is done in the SQL Server and Oracle providers.  I hope you give Connector/Net 5.0 a second chance.<p
class="top-comments">Current score: <span
class="top-comments-karma" id="karma-812">0</span> <small>(to vote for this comment, please visit the site)</small></p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/comment-page-1/#comment-811</link> <dc:creator>Chris</dc:creator> <pubDate>Mon, 13 Nov 2006 17:34:56 +0000</pubDate> <guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=502#comment-811</guid> <description>Please excuse my mastery of the English language.  Sentence 2: I run a pretty large site this way.Cheers!&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-811&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>Please excuse my mastery of the English language.  Sentence 2: I run a pretty large site this way.</p><p>Cheers!<p
class="top-comments">Current score: <span
class="top-comments-karma" id="karma-811">0</span> <small>(to vote for this comment, please visit the site)</small></p> ]]></content:encoded> </item> <item><title>By: Chris</title><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/comment-page-1/#comment-810</link> <dc:creator>Chris</dc:creator> <pubDate>Mon, 13 Nov 2006 17:33:30 +0000</pubDate> <guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=502#comment-810</guid> <description>I haven&#039;t run into too many others using .NET and MySQL.  I pretty large site running this way.  Currently I&#039;m just using ODBC to connect.   I used the MySql connector.net but did not convert everything to it.I still have a ghost memory leak that forces me to restart the applcation pool &amp; MySQL service about 1-2 times a month.  I cannot figure it out.  I&#039;ve tried everything I can think of, but every so often the main web app cannot connect to the MySQL server at all.  But the crazy part is that other web apps (running in seperate App Pools on a IIS 6 box) can still connect!For dates I always cast them ToString(&quot;yyyy-mm-dd hh:mm:ss&quot;) or something similar (see the ToString stuff for DateTime to get the right syntax).  Never had any of the date problems people mentioned using that method.For people on a budget with existing Windows servers, MySQL fits the bill just fine.&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-810&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>I haven&#8217;t run into too many others using .NET and MySQL.  I pretty large site running this way.  Currently I&#8217;m just using ODBC to connect.   I used the MySql connector.net but did not convert everything to it.</p><p>I still have a ghost memory leak that forces me to restart the applcation pool &#038; MySQL service about 1-2 times a month.  I cannot figure it out.  I&#8217;ve tried everything I can think of, but every so often the main web app cannot connect to the MySQL server at all.  But the crazy part is that other web apps (running in seperate App Pools on a IIS 6 box) can still connect!</p><p>For dates I always cast them ToString(&#8220;yyyy-mm-dd hh:mm:ss&#8221;) or something similar (see the ToString stuff for DateTime to get the right syntax).  Never had any of the date problems people mentioned using that method.</p><p>For people on a budget with existing Windows servers, MySQL fits the bill just fine.<p
class="top-comments">Current score: <span
class="top-comments-karma" id="karma-810">0</span> <small>(to vote for this comment, please visit the site)</small></p> ]]></content:encoded> </item> <item><title>By: Trevor</title><link>http://blog.jeffreymcmanus.com/502/mysql-gotchas-for-net-developers/comment-page-1/#comment-809</link> <dc:creator>Trevor</dc:creator> <pubDate>Mon, 13 Nov 2006 14:59:48 +0000</pubDate> <guid
isPermaLink="false">http://blog.jeffreymcmanus.com/?p=502#comment-809</guid> <description>What gui tools are you using? Not that SqlServer has the best gui tools, but, they&#039;re better than any of the tools that I&#039;ve tried for MySql. My background is in SqlServer, but, I have moved to MySql at the request of clients for a couple of projects that I&#039;m working on and I&#039;d like to be more efficient with it. Also, any suggestions for OS X gui&#039;s?&lt;p class=&quot;top-comments&quot;&gt;Current score: &lt;span class=&quot;top-comments-karma&quot; id=&quot;karma-809&quot;&gt;0&lt;/span&gt; &lt;small&gt;(to vote for this comment, please visit the site)&lt;/small&gt;&lt;/p&gt;</description> <content:encoded><![CDATA[<p>What gui tools are you using? Not that SqlServer has the best gui tools, but, they&#8217;re better than any of the tools that I&#8217;ve tried for MySql. My background is in SqlServer, but, I have moved to MySql at the request of clients for a couple of projects that I&#8217;m working on and I&#8217;d like to be more efficient with it. Also, any suggestions for OS X gui&#8217;s?<p
class="top-comments">Current score: <span
class="top-comments-karma" id="karma-809">0</span> <small>(to vote for this comment, please visit the site)</small></p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached (user agent is rejected)
Database Caching 1/19 queries in 0.012 seconds using memcached

Served from: blog.jeffreymcmanus.com @ 2012-02-10 13:35:22 -->
