Where is the FB database connection string stored? - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com2013-05-23T22:00:37Zhttp://fogbugz.stackexchange.com/feeds/question/2551http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://fogbugz.stackexchange.com/questions/2551/where-is-the-fb-database-connection-string-storedWhere is the FB database connection string stored?PaulStock2010-03-25T13:24:14Z2012-10-09T16:08:14Z
<p>We are going to attempt to move our SQL database that FogBugz uses to a different server. I know how to change the connection string from the site settings screen, but I am worried that if something goes wrong we will not be able to get back in to FB to restore the connection string back to what it originally was.</p>
<p>So, I was wondering if the connection string was stored somewhere on the web server where it could be manually modified if the app is unavailable.</p>
<p>Or is my worry misplaced?</p>
<p>Thanks</p>
http://fogbugz.stackexchange.com/questions/2551/where-is-the-fb-database-connection-string-stored/2552#2552Answer by JohnFx for Where is the FB database connection string stored?JohnFx2010-03-25T14:46:24Z2012-10-09T16:08:14Z<p>It is stored in the <strong>sConnectionstring</strong> value.</p>
<p>On a Windows server, it is in the registry:</p>
<p><strong>HKEY_LOCAL_MACHINE\SOFTWARE\Fog Creek Software\FogBugz\C:/Program Files/FogBugz/website</strong></p>
<p>Of course this may vary depending on your install location. The above assumes it was installed to C:/Program Files/FogBugz/website Additionally, if you are running FogBugz in 32-bit mode on a 64-bit server, it will be in the <strong>Wow6432Node</strong>:</p>
<p><strong>HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Fog Creek Software\FogBugz\C:/Program Files/FogBugz/website</strong></p>
<p>On a Linux server, it is in the <strong>application.data</strong> file in the <strong>Accessories</strong> folder in your FogBugz directory. e.g. <strong>/opt/fogbugz/Accessories/application.data</strong></p>