问题
I was installing umbraco and installed successfully, but forgot to configure with database and now i don't know how to connect with database in which file. can somebody explain me whole process of database connection with details
回答1:
It is in your web.config, see the connectionStrings default it use the \App_Data\Umbraco.sdf
<connectionStrings>
<remove name="umbracoDbDSN" />
<add name="umbracoDbDSN" connectionString="Data Source=|DataDirectory|\Umbraco.sdf;Flush Interval=1;" providerName="System.Data.SqlServerCe.4.0" />
<!-- Important: If you're upgrading Umbraco, do not clear the connection string / provider name during your web.config merge. -->
</connectionStrings>
来源:https://stackoverflow.com/questions/38218675/database-connection-in-umbraco