<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title>MySQL Error: Variable &amp;apos;sql_mode&amp;apos; can&amp;apos;t be set to the value of &amp;apos;NO_AUTO_CREATE_USER&amp;apos;</title>
        <link>https://interactivetools.com/forum/forum-posts.php?MySQL-Error-Variable-sql_mode-can-t-be-set-to-the-value-of-NO_AUTO_CREATE_USER-82674</link>
        <description></description>
        <pubDate>Tue, 10 Mar 2026 20:51:48 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-posts.php?rss=1&amp;MySQL-Error-Variable-sql_mode-can-t-be-set-to-the-value-of-NO_AUTO_CREATE_USER-82674" rel="self" type="application/rss+xml" />

                <item>
          <title>MySQL Error: Variable &apos;sql_mode&apos; can&apos;t be set to the value of &apos;NO_AUTO_CREATE_USER&apos;</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246546#post2246546</link>
          <description><![CDATA[<p>Thank you, Dave. I'll give this a shot.</p>]]></description>
          <pubDate>Sat, 13 May 2023 10:03:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246546#post2246546</guid>
        </item>
                <item>
          <title>MySQL Error: Variable &apos;sql_mode&apos; can&apos;t be set to the value of &apos;NO_AUTO_CREATE_USER&apos;</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246545#post2246545</link>
          <description><![CDATA[<p>Hi CommonSenseDesign, </p>
<p>It may be because the host upgraded the version of PHP or MySQL and you have an older version of CMSB.</p>
<p>For a short-term fix you can edit /lib/mysql_functions.php and search for: NO_AUTO_CREATE_USER then remove the comma (",") and NO_AUTO_CREATE_USER  from these lines: </p>
<pre class="language-php"><code># set MySQL strict mode - <a href="http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html</a>
if ($strictMode) {
  $query = "SET SESSION sql_mode = 'STRICT_ALL_TABLES,NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER'";
  mysql_query($query) or die("MySQL Error: " .mysql_error(). "\n");
}
else {
  $query = "SET SESSION sql_mode = 'NO_ZERO_IN_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER'";
  mysql_query($query) or die("MySQL Error: " .mysql_error(). "\n");
}  </code></pre>
<p>Be sure to make a backup of the file first.</p>
<p>And then for a more long-term solution, you could upgrade to the latest version of CMSB which supports the latest MySQL and PHP versions.</p>
<p>Hope that helps!  Let me know if you have any questions.</p>]]></description>
          <pubDate>Fri, 12 May 2023 15:21:42 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246545#post2246545</guid>
        </item>
                <item>
          <title>MySQL Error: Variable &apos;sql_mode&apos; can&apos;t be set to the value of &apos;NO_AUTO_CREATE_USER&apos;</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2246544#post2246544</link>
          <description><![CDATA[<p>Hi, All.</p>
<p>My client's site has gone down, and there's this error message when you visit it: <a href="https://www.masselsmarine.com/" rel="nofollow">https://www.masselsmarine.com/</a></p>
<p><em>MySQL Error: Variable 'sql_mode' can't be set to the value of 'NO_AUTO_CREATE_USER'</em></p>
<p><span>Any idea what might be causing this, please?</span></p>]]></description>
          <pubDate>Fri, 12 May 2023 04:41:51 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2246544#post2246544</guid>
        </item>
              </channel>
    </rss>
  