11 lines
446 B
HTML
11 lines
446 B
HTML
<p>修改mysql的配置文件:my.ini 将其只的:</p>
|
||
<div class="cnblogs_code">
|
||
<pre>sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"</pre>
|
||
</div>
|
||
<p>修改为:</p>
|
||
<div class="cnblogs_code">
|
||
<pre>sql-mode="NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"</pre>
|
||
</div>
|
||
<p>这里把STRICT_TRANS_TALBES去掉之后,重启MySQL,解决!</p>
|
||
<p> </p>
|
||
<p>转自:https://www.cnblogs.com/finary/p/3339872.html</p> |