<?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: How to Setup and Configure MySql Membership Provider 6.2.2 &#8211; Porting to Mono Part 2 of 3</title>
	<atom:link href="http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/</link>
	<description>My Little .NET Sandbox</description>
	<lastBuildDate>Sat, 04 Feb 2012 23:11:51 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/comment-page-1/#comment-9517</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Fri, 18 Nov 2011 15:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=448#comment-9517</guid>
		<description>&lt;a href=&quot;#comment-9487&quot; rel=&quot;nofollow&quot;&gt;@Gaurang&lt;/a&gt;  Excellent!</description>
		<content:encoded><![CDATA[<p><a href="#comment-9487" rel="nofollow">@Gaurang</a>  Excellent!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurang</title>
		<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/comment-page-1/#comment-9487</link>
		<dc:creator>Gaurang</dc:creator>
		<pubDate>Fri, 18 Nov 2011 06:52:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=448#comment-9487</guid>
		<description>Thanks Nathan,
Yesterday night I was able to implement the same.</description>
		<content:encoded><![CDATA[<p>Thanks Nathan,<br />
Yesterday night I was able to implement the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/comment-page-1/#comment-9435</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Thu, 17 Nov 2011 16:03:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=448#comment-9435</guid>
		<description>&lt;a href=&quot;#comment-9413&quot; rel=&quot;nofollow&quot;&gt;@Gaurang &lt;/a&gt; Sounds good! Good luck! 

So here&#039;s how the MySql membership works (as I recall):

There&#039;s an initialize method that is called anytime a Membership implementation is enabled and starts up. During initialize, it always checks the schema version. If autogenerateschema is set to &quot;true&quot; and the schema version doesn&#039;t exist or needs to be updated, it will automatically apply any incremental (or full) updates to the database schema at that time. The caveat here is that your application credentials used by your membership data connection also require schema change access to the database.

If the data connection does not have proper access to change schema or if the schema version in the current database needs to be updated but autogenerateschema is false, then you will see exceptions thrown.

In a happy scenario, MySql Membership provider will automatically update your schema as needed and just plain work when you try to use it. 

Good luck!</description>
		<content:encoded><![CDATA[<p><a href="#comment-9413" rel="nofollow">@Gaurang </a> Sounds good! Good luck! </p>
<p>So here&#8217;s how the MySql membership works (as I recall):</p>
<p>There&#8217;s an initialize method that is called anytime a Membership implementation is enabled and starts up. During initialize, it always checks the schema version. If autogenerateschema is set to &#8220;true&#8221; and the schema version doesn&#8217;t exist or needs to be updated, it will automatically apply any incremental (or full) updates to the database schema at that time. The caveat here is that your application credentials used by your membership data connection also require schema change access to the database.</p>
<p>If the data connection does not have proper access to change schema or if the schema version in the current database needs to be updated but autogenerateschema is false, then you will see exceptions thrown.</p>
<p>In a happy scenario, MySql Membership provider will automatically update your schema as needed and just plain work when you try to use it. </p>
<p>Good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gaurang</title>
		<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/comment-page-1/#comment-9413</link>
		<dc:creator>Gaurang</dc:creator>
		<pubDate>Thu, 17 Nov 2011 09:09:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=448#comment-9413</guid>
		<description>Hi Nathan, 
I was wondering how to work things for MySql. But now since I found this important blog of urs, I am going to perform all the above metioned activities tonight. I have just one question out of curiosity.
 
I have downloaded Community edition of Mysql from www.mysql.com using windows installer. ASP.NET Membership generates bunch of Stored procedures automatically. Now we know that the syntax differs for MS Sql Server and MySql, by mentioning “autogenerateschema=true”, does the provider manages the schema for MySql? or its ASP.NET configuration tool that does that?</description>
		<content:encoded><![CDATA[<p>Hi Nathan,<br />
I was wondering how to work things for MySql. But now since I found this important blog of urs, I am going to perform all the above metioned activities tonight. I have just one question out of curiosity.</p>
<p>I have downloaded Community edition of Mysql from <a href="http://www.mysql.com" rel="nofollow">http://www.mysql.com</a> using windows installer. ASP.NET Membership generates bunch of Stored procedures automatically. Now we know that the syntax differs for MS Sql Server and MySql, by mentioning “autogenerateschema=true”, does the provider manages the schema for MySql? or its ASP.NET configuration tool that does that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Simi Sreedharan</title>
		<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/comment-page-1/#comment-7206</link>
		<dc:creator>Simi Sreedharan</dc:creator>
		<pubDate>Mon, 17 Oct 2011 18:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=448#comment-7206</guid>
		<description>Thanks. I was struggling to make my app work with MySql. This one helped me.</description>
		<content:encoded><![CDATA[<p>Thanks. I was struggling to make my app work with MySql. This one helped me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/comment-page-1/#comment-6700</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Mon, 14 Mar 2011 03:54:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=448#comment-6700</guid>
		<description>&lt;a href=&quot;#comment-6699&quot; rel=&quot;nofollow&quot;&gt;@Scott &lt;/a&gt; 
You bet!</description>
		<content:encoded><![CDATA[<p><a href="#comment-6699" rel="nofollow">@Scott </a><br />
You bet!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/comment-page-1/#comment-6699</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 14 Mar 2011 03:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=448#comment-6699</guid>
		<description>Nathan, this was an awesome find. Thank you for putting it together and saving me countless hours searching the web or a solution.

I do have one question. When using the ASP.Net Web Site Administration Tool is it normal that if you try and test the Providers on the Provider tab the test fails? Everything on with my membership appears to be working properly I just wanted to make sure there wasn&#039;t something behind the scene that might not and cause me problems down the road.

Thanks!!</description>
		<content:encoded><![CDATA[<p>Nathan, this was an awesome find. Thank you for putting it together and saving me countless hours searching the web or a solution.</p>
<p>I do have one question. When using the ASP.Net Web Site Administration Tool is it normal that if you try and test the Providers on the Provider tab the test fails? Everything on with my membership appears to be working properly I just wanted to make sure there wasn&#8217;t something behind the scene that might not and cause me problems down the road.</p>
<p>Thanks!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/comment-page-1/#comment-2926</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Sat, 27 Nov 2010 18:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=448#comment-2926</guid>
		<description>&lt;a href=&quot;#comment-2923&quot; rel=&quot;nofollow&quot;&gt;@Marzia &lt;/a&gt; 

One of the things built-in  to the MySql connector&#039;s membership provider is the ability to migrate schema for you.  If you enable it with the attribute option, &quot;autogenerateschema=true&quot;. Set this on each of the membership section: membership, profile, and roles.  Make sure the connection string you configured is using a mysql user account with full privileges to the database.  Most hosting providers only give you one, so that shouldn&#039;t be a problem.  The tool above has an option to generate a configuration with autogenerate schema enabled if you want to see what it looks like in action. 

Hope that helps!</description>
		<content:encoded><![CDATA[<p><a href="#comment-2923" rel="nofollow">@Marzia </a> </p>
<p>One of the things built-in  to the MySql connector&#8217;s membership provider is the ability to migrate schema for you.  If you enable it with the attribute option, &#8220;autogenerateschema=true&#8221;. Set this on each of the membership section: membership, profile, and roles.  Make sure the connection string you configured is using a mysql user account with full privileges to the database.  Most hosting providers only give you one, so that shouldn&#8217;t be a problem.  The tool above has an option to generate a configuration with autogenerate schema enabled if you want to see what it looks like in action. </p>
<p>Hope that helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/comment-page-1/#comment-2925</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Sat, 27 Nov 2010 18:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=448#comment-2925</guid>
		<description>&lt;a href=&quot;#comment-2888&quot; rel=&quot;nofollow&quot;&gt;@Ralph Butler &lt;/a&gt; 

You bet! What error are you getting?</description>
		<content:encoded><![CDATA[<p><a href="#comment-2888" rel="nofollow">@Ralph Butler </a> </p>
<p>You bet! What error are you getting?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan</title>
		<link>http://www.integratedwebsystems.com/2010/02/how-to-setup-and-configure-mysql-membership-provider-6-2-2-porting-to-mono-part-2-of-3/comment-page-1/#comment-2924</link>
		<dc:creator>Nathan</dc:creator>
		<pubDate>Sat, 27 Nov 2010 18:05:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.integratedwebsystems.com/?p=448#comment-2924</guid>
		<description>&lt;a href=&quot;#comment-2873&quot; rel=&quot;nofollow&quot;&gt;@Stephan &lt;/a&gt; 

Take a look at my &lt;a href=&quot;/2010/11/setting-up-mono-2-8-with-asp-net-4-0-and-mvc2-on-ubuntu-with-mysql-membership/&quot; rel=&quot;nofollow&quot;&gt;most recent post w/ Mono 2.8 and MySql Membership&lt;/a&gt;.  I haven&#039;t tested encryption specifically, but I did make it work with hashed passwords.  I&#039;ll look into it an get you a better answer if that&#039;s still an issue.</description>
		<content:encoded><![CDATA[<p><a href="#comment-2873" rel="nofollow">@Stephan </a> </p>
<p>Take a look at my <a href="/2010/11/setting-up-mono-2-8-with-asp-net-4-0-and-mvc2-on-ubuntu-with-mysql-membership/" rel="nofollow">most recent post w/ Mono 2.8 and MySql Membership</a>.  I haven&#8217;t tested encryption specifically, but I did make it work with hashed passwords.  I&#8217;ll look into it an get you a better answer if that&#8217;s still an issue.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

