<?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>datetime &#8211; SMsoft &#8211; informatica e dintorni</title>
	<atom:link href="https://blog.smsoft.it/tag/datetime/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.smsoft.it</link>
	<description>consigli settimanali su MacOS, GNU/Linux ed Open Source</description>
	<lastBuildDate>Thu, 18 Mar 2021 11:41:47 +0000</lastBuildDate>
	<language>it-IT</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=96637</generator>
	<item>
		<title>MySQL: Disabilitare lo Strict SQL Mode durante l&#8217;import di un file di dump</title>
		<link>https://blog.smsoft.it/2021/03/23/mysql-disabilitare-strict-sql-mode-durante-limport-di-un-dump/</link>
					<comments>https://blog.smsoft.it/2021/03/23/mysql-disabilitare-strict-sql-mode-durante-limport-di-un-dump/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 23 Mar 2021 09:30:00 +0000</pubDate>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[0000-00-00]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[datetime]]></category>
		<category><![CDATA[Strict SQL Mode]]></category>
		<guid isPermaLink="false">https://blog.smsoft.it/?p=4909</guid>

					<description><![CDATA[L&#8217;import di un dump MySQL può essere fatto velocemente con: ~$ mysql wp_post&#60;wp_post.sql Se però sul server è attiva la modalità StrictSQL e nel file di dump ci sono date con default a &#8220;0000-00-00&#8221; si avrà un errore. Per risolvere velocemente, basta aggiungere la seguite query all&#8217;inizio del file di dump: set sql_mode=''; enjoy!]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">L&#8217;import di un dump MySQL può essere fatto velocemente con:</p>



<pre class="wp-block-preformatted">~$ mysql wp_post&lt;wp_post.sql</pre>



<p class="wp-block-paragraph">Se però sul server è attiva la modalità StrictSQL e nel file di dump ci sono date con default a &#8220;0000-00-00&#8221; si avrà un errore. Per risolvere velocemente, basta aggiungere la seguite query all&#8217;inizio del file di dump: </p>



<pre class="wp-block-preformatted">set sql_mode='';</pre>



<p class="wp-block-paragraph">enjoy!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.smsoft.it/2021/03/23/mysql-disabilitare-strict-sql-mode-durante-limport-di-un-dump/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
