<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>NetDev</title>
	<atom:link href="http://netdev.flash-hacks.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://netdev.flash-hacks.com</link>
	<description>A .Net Developer&#039;s blog - Francesco Scalise</description>
	<lastBuildDate>Sun, 06 Jun 2010 18:49:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>SQLike &#8211; JSON meets SQL</title>
		<link>http://netdev.flash-hacks.com/2010/06/sqlike-json-meets-sql/</link>
		<comments>http://netdev.flash-hacks.com/2010/06/sqlike-json-meets-sql/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 12:16:56 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[Javascript]]></category>
		<category><![CDATA[JSON]]></category>

		<guid isPermaLink="false">http://netdev.flash-hacks.com/?p=184</guid>
		<description><![CDATA[Recently i&#8217;m working a lot with javascript(Extjs) and JSON, very powerful. Some days ago i found this project of Thomas Frank, he realize a tool to interrogate a JSON with a SQL like language.
This is very interesting because using this library we could do query on data loaded from database directly on a client. It [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i&#8217;m working a lot with javascript(Extjs) and JSON, very powerful. Some days ago i found this project of Thomas Frank, he realize a tool to interrogate a JSON with a SQL like language.</p>
<p><a href="http://www.flash-hacks.com/netdev/wp-content/uploads/2010/06/dump.png" rel="lightbox[184]"><img class="aligncenter size-medium wp-image-175" title="dump" src="http://www.flash-hacks.com/netdev/wp-content/uploads/2010/06/dump-259x300.png" alt="" width="259" height="300" /></a>This is very interesting because using this library we could do query on data loaded from database directly on a client. It increases the performance of user experience and make the server interaction minimal, infact all the calls to database in any way be made, increase the server load. Very good job!</p>
<p><a href="http://www.thomasfrank.se/indexa.html" target="_blank">Thomas Frank&#8217;s site</a></p>
<p><a href="http://www.thomasfrank.se/sqlike.html" target="_blank">SQLike page</a></p>
]]></content:encoded>
			<wfw:commentRss>http://netdev.flash-hacks.com/2010/06/sqlike-json-meets-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Browser comparison</title>
		<link>http://netdev.flash-hacks.com/2010/06/browser-comparison/</link>
		<comments>http://netdev.flash-hacks.com/2010/06/browser-comparison/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 20:13:27 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[browser]]></category>

		<guid isPermaLink="false">http://www.flash-hacks.com/netdev/?p=160</guid>
		<description><![CDATA[In the image below there are some tests about web browser, the result not totally unexpected..
via SixRevisions
]]></description>
			<content:encoded><![CDATA[<p>In the image below there are some tests about web browser, the result not totally unexpected..</p>
<p><a href="http://www.flash-hacks.com/netdev/wp-content/uploads/2010/06/15-03_performance_comparison_of_web_browsers_large.jpg" rel="lightbox[160]"><img class="aligncenter size-medium wp-image-161" title="15-03_performance_comparison_of_web_browsers_large" src="http://www.flash-hacks.com/netdev/wp-content/uploads/2010/06/15-03_performance_comparison_of_web_browsers_large-260x300.jpg" alt="" width="260" height="300" /></a>via <a href="http://sixrevisions.com/infographics/performance-comparison-of-major-web-browsers/" target="_blank">SixRevisions</a></p>
]]></content:encoded>
			<wfw:commentRss>http://netdev.flash-hacks.com/2010/06/browser-comparison/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Backup MS SQL Table</title>
		<link>http://netdev.flash-hacks.com/2010/02/backup-ms-sql-table/</link>
		<comments>http://netdev.flash-hacks.com/2010/02/backup-ms-sql-table/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 23:10:55 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[MS SQL Server]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[dump]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[sql server]]></category>

		<guid isPermaLink="false">http://www.flash-hacks.com/netdev/?p=147</guid>
		<description><![CDATA[Recently, i worked with MS SQL Server and i needed to backup a table. With Mysql database, this is a simple job. Infact , i think  that  mysqldump is very simple and quickly method. SQL Server provide with Management Studio an automatic backup also easy to use, but this permit to backup only the entire [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, i worked with MS SQL Server and i needed to backup a table. With Mysql database, this is a simple job. Infact , i think  that  mysqldump is very simple and quickly method. SQL Server provide with Management Studio an automatic backup also easy to use, but this permit to backup only the entire Db. After some google search i found the solution, <em>bcp </em>command, follow a sample.</p>
<p>For backup a table from my db i wrote :</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">bcp mydb<span style="color: #66cc66;">.</span>mytable OUT c:\export<span style="color: #66cc66;">.</span>txt <span style="color: #66cc66;">-</span>n <span style="color: #66cc66;">-</span>S dbserver  <span style="color: #66cc66;">-</span>T</pre></div></div>

<p>and to restore :</p>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;">bcp mydb<span style="color: #66cc66;">.</span>mytable <span style="color: #993333; font-weight: bold;">IN</span> c:\import<span style="color: #66cc66;">.</span>txt <span style="color: #66cc66;">-</span>n <span style="color: #66cc66;">-</span>S dbserver <span style="color: #66cc66;">-</span>T</pre></div></div>

<p>Where the parameters :</p>
<p>-n  -&gt; maintains the native type of the table</p>
<p>-S  -&gt; the db server</p>
<p>-T  -&gt; trusted connection</p>
<p>There are many other options, see the image below.</p>
<p style="text-align: center;"><a href="http://www.flash-hacks.com/netdev/wp-content/uploads/2010/02/bcp.jpg" rel="lightbox[147]"><img class="size-medium wp-image-153  aligncenter" title="bcp" src="http://www.flash-hacks.com/netdev/wp-content/uploads/2010/02/bcp-300x88.jpg" alt="" width="300" height="88" /></a></p>
<p><span style="color: #ffffff;">ww</span></p>
]]></content:encoded>
			<wfw:commentRss>http://netdev.flash-hacks.com/2010/02/backup-ms-sql-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Skyfire launches his new mobile browser</title>
		<link>http://netdev.flash-hacks.com/2010/01/skyfire-launches-his-new-mobile-browser/</link>
		<comments>http://netdev.flash-hacks.com/2010/01/skyfire-launches-his-new-mobile-browser/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 20:09:07 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Silverlight]]></category>

		<guid isPermaLink="false">http://www.flash-hacks.com/netdev/?p=132</guid>
		<description><![CDATA[Today Skyfire released a new version oh hi mobile browser. This new version is for Symbina Smartphone  3rd Edition e 5th Edition for touch screen devices(this in beta).
They had recently issued the same version for Windows Mobile, but now i haven&#8217;t a windows mobile device&#8230;then i&#8217;m trying on my Nokia E71 . I think it [...]]]></description>
			<content:encoded><![CDATA[<p>Today <a href="http://skyfire.com" target="_blank">Skyfire</a> released a new version oh hi mobile browser. This new version is for Symbina Smartphone  3rd Edition e 5th Edition for touch screen devices(this in beta).</p>
<p><span id="result_box" class="short_text"><span style="background-color: #ffffff;" title="loro recentemente avevano rilasciato">They had recently issued the same version for Windows Mobile, but now i haven&#8217;t a windows mobile device&#8230;then i&#8217;m trying on my Nokia E71 . </span></span><span id="result_box" class="short_text"><span style="background-color: #ffffff;" title="penso sia un valido browser">I think it is a good browser, </span></span><span id="result_box" class="short_text"><span style="background-color: #ffffff;" title="è molto veloce e usabile">is very fast and usable and support Javascript, Flash 10 , Silverlight 3 plus Windows Media. </span></span></p>
<p><span class="short_text"><span style="background-color: #ffffff;" title="è molto veloce e usabile">I installed this browser on my phone for the Silverlight conpatibility, but i saw some small problem&#8230; however is a great work!<br />
</span></span></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="data" value="http://www.youtube.com/v/gaiRsi2y7WI&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" /><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://www.youtube.com/v/gaiRsi2y7WI&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/gaiRsi2y7WI&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1" allowscriptaccess="always" allowfullscreen="true" data="http://www.youtube.com/v/gaiRsi2y7WI&amp;color1=0xb1b1b1&amp;color2=0xcfcfcf&amp;hl=en_US&amp;feature=player_embedded&amp;fs=1"></embed></object></p>
<p style="text-align: left;"><a href="http://www.skyfire.com/blog/2010/01/20/skyfire-15-launches-for-symbian-s60-3rd-and-5th-edition/" target="_blank">Skyfire blog</a></p>
]]></content:encoded>
			<wfw:commentRss>http://netdev.flash-hacks.com/2010/01/skyfire-launches-his-new-mobile-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PLINQO&#8230;</title>
		<link>http://netdev.flash-hacks.com/2009/12/plinqo/</link>
		<comments>http://netdev.flash-hacks.com/2009/12/plinqo/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 22:45:04 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[LinQ]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[WCF]]></category>

		<guid isPermaLink="false">http://www.flash-hacks.com/netdev/?p=125</guid>
		<description><![CDATA[Recently i read a post talks about LINQO. With this instrument the use of LinqtoSQL became less heavy.
Infact with this is possible to create a complete project using existing template.
A great important things is the dbml synchronization with the database tables, i think that is a great plus because recently i worked in a WCF [...]]]></description>
			<content:encoded><![CDATA[<p>Recently i read a <a href="http://blogs.ugidotnet.org/dsenatore/archive/2009/12/06/plinqo-linq2sql-on-steroids.aspx"><span style="text-decoration: none;">post</span></a> talks about <a href="http://plinqo.com/Features.ashx">LINQO</a>. With this instrument the use of LinqtoSQL became less heavy.<br />
Infact with this is possible to create a complete project using existing template.<br />
A great important things is the dbml synchronization with the database tables, i think that is a great plus because recently i worked in a WCF project where the dbml must be continuously refreshed&#8230;really bad!</p>
<p>Now i would to try PLINQO at 360° &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://netdev.flash-hacks.com/2009/12/plinqo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hands-on Labs for WF</title>
		<link>http://netdev.flash-hacks.com/2009/07/hands-on-labs-for-wf/</link>
		<comments>http://netdev.flash-hacks.com/2009/07/hands-on-labs-for-wf/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 18:59:17 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[WF]]></category>
		<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[Workflow]]></category>

		<guid isPermaLink="false">http://www.flash-hacks.com/netdev/?p=105</guid>
		<description><![CDATA[Just now i saw that Microsoft made available to developers two packages containing more training pathways, and code examples in VB.NET and C#.
With this quickguide, Microsoft gives an instrument for .NET Developers and no to learn Windows Workflow Fundation(WF) . I&#8217; m very interested to learn this programming model, infact WF provides a unified programming [...]]]></description>
			<content:encoded><![CDATA[<p>Just now i saw that <a href="http://www.microsoft.com">Microsoft</a> made available to developers two packages containing more training pathways, and code examples in VB.NET and C#.</p>
<p>With this quickguide, Microsoft gives an instrument for .NET Developers and no to learn Windows Workflow Fundation(WF) . I&#8217; m very interested to learn this programming model, infact WF provides a unified programming model for computing representation of real business processes.</p>
<p>This affects me so much that i decid to see what it is specifically does&#8230;.below some link for help who want to learn too.</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?displaylang=en&amp;FamilyID=2e575633-e357-4ee7-aaff-34138f00e830" target="_blank">Microsoft  manuals and sample code</a></p>
<p><a href="http://www.davidchappell.com/TheWorkflowWay--Chappell.pdf" target="_blank">David Chappell &#8220;The WorkFlowWay&#8221;</a></p>
]]></content:encoded>
			<wfw:commentRss>http://netdev.flash-hacks.com/2009/07/hands-on-labs-for-wf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mobile Developer Day 2009</title>
		<link>http://netdev.flash-hacks.com/2009/06/mobile-develoepr-day-2009/</link>
		<comments>http://netdev.flash-hacks.com/2009/06/mobile-develoepr-day-2009/#comments</comments>
		<pubDate>Mon, 29 Jun 2009 19:40:32 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://www.flash-hacks.com/?p=94</guid>
		<description><![CDATA[
On  July 7th in Milan,   many developers will find them in a fulltime day dedicated to Windows Mobile. This workshop organized by Microsoft, will give an overview to the new Windows Mobile 6.5,
Internet Explorer Mobile 6, ecc. This meeting is free, then don&#8217;t miss!
I can&#8217;t partecipate because is a working day, then i wait for [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://www.microsoft.com/italy/mobiledev09/#1"><img class="aligncenter size-full wp-image-91" title="mobiledeveloperday" src="http://www.flash-hacks.com/netdev/wp-content/uploads/2009/06/mobiledeveloperday.png" alt="mobiledeveloperday" width="400" height="258" /></a></p>
<p>On  July 7th in Milan,   many developers will find them in a fulltime day dedicated to Windows Mobile. This workshop organized by <a href="http://www.microsoft.com">Microsoft</a>, will give an overview to the new Windows Mobile 6.5,<br />
Internet Explorer Mobile 6, ecc. This meeting is free, then don&#8217;t miss!</p>
<p>I can&#8217;t partecipate because is a working day, then i wait for your impressions.</p>
<p><a href="http://www.microsoft.com/italy/mobiledev09/#1">link</a></p>
]]></content:encoded>
			<wfw:commentRss>http://netdev.flash-hacks.com/2009/06/mobile-develoepr-day-2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Silverlight competition</title>
		<link>http://netdev.flash-hacks.com/2009/06/silverlight-competition/</link>
		<comments>http://netdev.flash-hacks.com/2009/06/silverlight-competition/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 21:12:29 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Silverlight]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Contest]]></category>

		<guid isPermaLink="false">http://www.flash-hacks.com/netdev/?p=69</guid>
		<description><![CDATA[ComponentArt starts a summer competition for Silverlight. This competition during from 22 June to 22 September 2009,  any developer can partecipate and the winner can take away $10,000!!! Component Art offer in plus a free trial license key for his pruduct for help who wants to use, but the use of this components is not required.
Good Luck [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.componentart.com/community/competition2009/"><img class="alignleft size-full wp-image-79" title="competitioncomponentart" src="http://www.flash-hacks.com/netdev/wp-content/uploads/2009/06/competitioncomponentart.png" alt="competitioncomponentart" width="200" height="195" /></a><a href="http://www.componentart.com/community/competition2009/">ComponentArt</a> starts a summer competition for Silverlight. This competition during from 22 June to 22 September 2009,  any developer can partecipate and the winner can take away $10,000!!! Component Art offer in plus a free trial license key for his pruduct for help who wants to use, but the use of this components is not required.</p>
<p>Good Luck to all.</p>
]]></content:encoded>
			<wfw:commentRss>http://netdev.flash-hacks.com/2009/06/silverlight-competition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LinQ, troppo tosto!</title>
		<link>http://netdev.flash-hacks.com/2009/05/linq-troppo-tosto/</link>
		<comments>http://netdev.flash-hacks.com/2009/05/linq-troppo-tosto/#comments</comments>
		<pubDate>Mon, 04 May 2009 20:19:45 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[LinQ]]></category>
		<category><![CDATA[Generics]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://www.flash-hacks.com/netdev/?p=41</guid>
		<description><![CDATA[Che LinQ fosse una notevole innovazione, tutti ne saranno d&#8217;accordo. Ma non tutti sanno di cosa stiamo parlando, quindi ne diamo la definizione ufficiale :
LinQ è l&#8217;acronimo di Language Integrated Query ovvero Linguaggio di interrogazione integrato.
Tale linguaggio è integrato nel .NET Framework e consente di fare interrogazioni su qualsiasi collezione di oggetti,DataBase e XML. Lasciando [...]]]></description>
			<content:encoded><![CDATA[<p>Che LinQ fosse una notevole innovazione, tutti ne saranno d&#8217;accordo. Ma non tutti sanno di cosa stiamo parlando, quindi ne diamo la definizione ufficiale :</p>
<blockquote><p>LinQ è l&#8217;acronimo di Language Integrated Query ovvero Linguaggio di interrogazione integrato.</p></blockquote>
<p>Tale linguaggio è integrato nel .NET Framework e consente di fare interrogazioni su qualsiasi collezione di oggetti,DataBase e XML. Lasciando da parte LinQ to SQL, che sto tuttora usando, quello che mi ha dato lo spunto per scrivere questo post è stato un caso reale incontrato oggi in ufficio.</p>
<p>Ho una classe Assegno così strutturata con degli attributi tipo : ID, Numero, Data, Importo.<br />
Ora supponiamo di avere una lista generica di Assegni:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;">List<span style="color: #008000;">&lt;</span>Assegno<span style="color: #008000;">&gt;</span>assegni<span style="color: #008000;">=</span> <span style="color: #008000;">new</span> List<span style="color: #008000;">&lt;</span>Assegno<span style="color: #008000;">&gt;</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

<p>Il mio problema era quello di dover fare la somma di tutti gli importi degli Assegni, nessun problema infatti:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #FF0000;">int</span> somma<span style="color: #008000;">=</span><span style="color: #FF0000;">0</span><span style="color: #008000;">;</span>
<span style="color: #0600FF;">foreach</span> <span style="color: #000000;">&#40;</span>Assegno a <span style="color: #0600FF;">in</span> assegni<span style="color: #000000;">&#41;</span>
somma<span style="color: #008000;">+=</span>a.<span style="color: #0000FF;">Importo</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

<p>Molto semplice ma macchinoso, analizziamo ora la versione LinQ:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #FF0000;">int</span> somma <span style="color: #008000;">=</span> <span style="color: #000000;">&#40;</span>from a <span style="color: #0600FF;">in</span> assegni select a.<span style="color: #0000FF;">Importo</span><span style="color: #000000;">&#41;</span>.<span style="color: #0000FF;">Sum</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #008000;">;</span></pre></td></tr></table></div>

<p>Troppo potente! Lo sò l&#8217;esempio è banale ma vi assicuro che LinQ può fare molto di più,<br />
magari vedremo altro nei prossimi post.</p>
<p>A presto.</p>
]]></content:encoded>
			<wfw:commentRss>http://netdev.flash-hacks.com/2009/05/linq-troppo-tosto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resettare password MySQL</title>
		<link>http://netdev.flash-hacks.com/2009/05/resettare-password-mysql/</link>
		<comments>http://netdev.flash-hacks.com/2009/05/resettare-password-mysql/#comments</comments>
		<pubDate>Fri, 01 May 2009 19:12:53 +0000</pubDate>
		<dc:creator>Francesco</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Hack]]></category>

		<guid isPermaLink="false">http://www.flash-hacks.com/netdev/?p=9</guid>
		<description><![CDATA[Di recente mi sono imbattuto in un problema legato alla mia labile memoria, avevo smarrito la mia password per il Server MySQL!!
Per evitare che qualcuno di voi disinstalli tutto per poi reinstallare da zero MySQL(Fatto dal sottoscritto tempo fà  ), vi spiego quali sono i passi da seguire:

Essere certi di aver fatto il login [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Di recente mi sono imbattuto in un problema legato alla mia labile memoria, avevo smarrito la mia password per il Server MySQL!!</p>
<p style="text-align: justify;">Per evitare che qualcuno di voi disinstalli tutto per poi reinstallare da zero MySQL(Fatto dal sottoscritto tempo fà <img src='http://netdev.flash-hacks.com/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> ), vi spiego quali sono i passi da seguire:</p>
<ol style="text-align: justify;">
<li>Essere certi di aver fatto il login di Windows da Amministratore.</li>
<li>Arrestare il Server MySQL da :</li>
<blockquote style="text-align: justify;">
<p style="text-align: left;"><em><span style="color: #3366ff;"> Start  -&gt; Pannello di Controllo -&gt; Strumenti di Amministrazione -&gt; Servizi</span></em></p>
</blockquote>
<li><span style="color: #3366ff;"><span style="color: #000000;">Creare un file di testo con il seguente contenuto :<br />
</span></span></li>

<div class="wp_syntax"><div class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">UPDATE</span> mysql<span style="color: #66cc66;">.</span>user <span style="color: #993333; font-weight: bold;">SET</span> Password<span style="color: #66cc66;">=</span>PASSWORD<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">'Nuovapassword'</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">WHERE</span> User<span style="color: #66cc66;">=</span><span style="color: #ff0000;">'root'</span>;
<span style="color: #993333; font-weight: bold;">FLUSH</span> PRIVILEGES;</pre></div></div>

<p>Copiare esattamente le dure righe così come sono, cambiando la password..naturalmente.</p>
<li>Salvare il file, per esempio <code>c:\mysql_init.txt</code>(Il percorso del file è ininfluente)</li>
<li>Aprire la console di Windows facendo:</li>
<blockquote>
<p style="text-align: left;"><em><span style="color: #3366ff;">Start  -&gt; Esegui -&gt; cmd </span></em></p>
</blockquote>
<li>Infine riavviare il server MySQL digitando al prompt :<br />
<code>c:\Programmi\MySQL\MySQLServerXXX\mysqld --init-file=C:\mysql_init.txt<br />
</code><br />
Dove XXX è la vostra versione di MySQL.</li>
</ol>
<p>Fatto!<br />
Grazie alla MySQL Reference!! A presto.</p>
<p style="text-align: justify;"><span style="color: #3366ff;"><span style="color: #000000;"><br />
</span></span></p>
<p style="text-align: justify;"><span style="color: #3366ff;"><span style="color: #000000;"><br />
</span></span></p>
]]></content:encoded>
			<wfw:commentRss>http://netdev.flash-hacks.com/2009/05/resettare-password-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
