Change the database prefix

Version: 10.5

By default, Sitecore uses the prefix Sitecore when it deploys databases. You can replace the default prefix with your own custom prefix. You have to do this before deploying the Sitecore databases.

Note

If you are deploying to an existing MS SQL environment, you must change the prefix to your existing MS SQL prefix.

To use a custom prefix:

  1. Open the sitecore-databaseprefix.txt secret file for editing.
  2. In the file, replace Sitecore with your custom prefix. Save the file.
  3. If the mssql-init image contains dacpac files for custom databases, open the sitecore-custom-database-prefix-update-from.txt secret file for editing.
  4. In the file, replace Sitecore with your prefix for the custom databases. Save the file.
If you have suggestions for improving this article, let us know!