<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[snmysqluser mismatch during upgrade from 1.5.7 to 1.5.9]]></title><description><![CDATA[<p dir="auto">I just upgrade a server from Ubuntu 18.04 (with fog 1.5.7) to Ubuntu 22.04 (with fog 1.5.9 dev-branch).</p>
<p dir="auto">I used the dev-branch for the php8 compatibility (from this advise here: <a href="https://issueantenna.com/repo/fogproject/fogproject/issues/462#comment-IC_kwDOAR8IuM4_9o39" target="_blank" rel="noopener noreferrer nofollow ugc">https://issueantenna.com/repo/fogproject/fogproject/issues/462#comment-IC_kwDOAR8IuM4_9o39</a> )</p>
<p dir="auto">During the installation, it asks to create the mysql root password but it also generated a new snmysqluser|pass like this :</p>
<pre><code>   snmysqluser='fogstorage'
   snmysqlpass='xxxxxxxxxxx'
</code></pre>
<p dir="auto">and this is where things gets weird.</p>
<p dir="auto">Before, on 1.5.7 I had :</p>
<pre><code>snmysqluser='root'
snmysqlpass=''
snmysqlhost='localhost'
</code></pre>
<p dir="auto">following the upgrade to 1.5.9 my .fogsettings file has been updated to :</p>
<pre><code>snmysqluser='fogmaster' # instead of 'fogstorage'
snmysqlpass='YYYYYYYY' # not the same as the 'xxxx' printed out earlier
snmysqlhost='localhost'
</code></pre>
<p dir="auto">Now the question is : Should I take the user/pass from the install script, or keep the one that has been added/edited on my fogsetting file ?</p>
]]></description><link>http://forums.fogproject.org/topic/16364/snmysqluser-mismatch-during-upgrade-from-1-5-7-to-1-5-9</link><generator>RSS for Node</generator><lastBuildDate>Tue, 09 Jun 2026 06:22:14 GMT</lastBuildDate><atom:link href="http://forums.fogproject.org/topic/16364.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Jul 2022 12:39:34 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to snmysqluser mismatch during upgrade from 1.5.7 to 1.5.9 on Wed, 06 Jul 2022 16:18:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/41811">@nono</a> The values in fogsettings should remain as the installer created them. As I said the fogstorage account is for external access to the master fog node from storage nodes. That account only has edit rights to the database, it can’t create or delete tables or schemas, that is the function of the fogmaster account. If you change it to fogstorage your next fog upgrade will fail because it doesn’t have the right access level to update tables in the fog database.</p>
]]></description><link>http://forums.fogproject.org/post/149191</link><guid isPermaLink="true">http://forums.fogproject.org/post/149191</guid><dc:creator><![CDATA[george1421]]></dc:creator><pubDate>Wed, 06 Jul 2022 16:18:08 GMT</pubDate></item><item><title><![CDATA[Reply to snmysqluser mismatch during upgrade from 1.5.7 to 1.5.9 on Wed, 06 Jul 2022 14:28:05 GMT]]></title><description><![CDATA[<p dir="auto">thanks <a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/30416">@george1421</a><br />
But then, for the next upgrade, shall I keep the .fogsettings like it is ? or use the fogstorage (and replace it on the file) ? <img src="http://forums.fogproject.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=fsgu5qsff2i" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title=":thinking_face:" alt="🤔" /></p>
]]></description><link>http://forums.fogproject.org/post/149188</link><guid isPermaLink="true">http://forums.fogproject.org/post/149188</guid><dc:creator><![CDATA[Nono]]></dc:creator><pubDate>Wed, 06 Jul 2022 14:28:05 GMT</pubDate></item><item><title><![CDATA[Reply to snmysqluser mismatch during upgrade from 1.5.7 to 1.5.9 on Tue, 05 Jul 2022 14:45:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="http://forums.fogproject.org/uid/41811">@nono</a> In earlier version of FOG it used the default login for mysql <code>root</code> with no password. This is a security concern, so the developers changed the code to prompt the FOG Installer for a one time use password to set <code>root</code> to. Then the fog installer creates a new user for mysql access that only has access to the fog database. The fog installer doesn’t store the <code>root</code> password once this fog db user is created.</p>
<p dir="auto">The <strong>fogmaster</strong> account is what the FOG UI uses to talk to the database internally. The <strong>fogstorage</strong> account is used for remote storage nodes to talk to the mysql database externally.</p>
<p dir="auto">The .fogsettings file is used when you reinstall/upgrade fog so the fog installer scripts know your server specific settings.</p>
]]></description><link>http://forums.fogproject.org/post/149161</link><guid isPermaLink="true">http://forums.fogproject.org/post/149161</guid><dc:creator><![CDATA[george1421]]></dc:creator><pubDate>Tue, 05 Jul 2022 14:45:01 GMT</pubDate></item></channel></rss>