Single database for multiple sites in Bold Reports®
Starting from version 6.1, Bold Reports® introduced a feature that supports a single database for multiple sites. Multiple sites share the same database, and each site keeps its own set of tables.
How does a single database support multiple sites?
Bold Reports® uses a multi-tenant architecture, where multiple instances of an application operate in a shared environment. The instances (sites) are logically isolated but physically integrated.
In the context of databases, multiple sites share the same database, but each site has its own set of tables that are distinguished by schema and prefix. The design allows for efficient resource utilization while ensuring data isolation and security for each site.
How do I create a site in an existing database?
You create a new site in the Bold Reports® On-Premises Edition application from the site management module. Follow these steps:
-
Click the
Create Sitebutton in the site management module.
-
Enter the site name and site identifier in the
Site Creationtab. -
Click
Nextto proceed.
Select Database:
The Bold Reports® site creation wizard supports MSSQL Server, PostgreSQL, and MySQL for a single database with multiple sites. Follow the steps for your server type.
MSSQL Server
To create another site in an existing Microsoft SQL Server database, follow these steps in Bold Reports®:
-
Select the server type as
Microsoft SQL Server, and provide the Server name, Username, and Password.
-
Provide the name of the
existing databasethat you already used to create a site. Also provide thenew database schema nameand thenew server table prefix name. Once provided, clickNextto proceed further.
Note: After configuring the database, follow the steps in Select storage to create a site.
-
Check the tables in the database. In the screenshots below,
userrepresents the existing database.dbo.BOLDRS_is the schema and prefix used for the tables created forsite 1.dbouser.BoldRSuser_denotes the newly created schema and prefix for the tables created forsite 2. Both schemas are present within the single database. By differentiating the schema and prefix names, you can createmultiple siteswithin asingle database.

Note: By default in MSSQL, the
database schema nameis dbo, andserver table prefix nameis BoldRS_.
PostgreSQL
To create another site in an existing PostgreSQL database, follow these steps in Bold Reports®:
-
Select the server type as
PostgreSQLServer, and provide the Server name, Username, and Password.
-
Provide the name of the
existing databasethat you already used to create a site. Also provide thenew database schema nameand thenew server table prefix name. Once provided, clickNextto proceed further.
Note: After configuring the database, follow the steps in Select storage to create a site.
-
Check the tables in the database. In the screenshots below,
userrepresents the existing database. Forsite 1,publicis the schema andboldrs_is the table prefix. Forsite 2,testis the newly created schema andboldreportsuser_is the newly created table prefix. Bothschemasare present within the single database. By differentiating the schema and prefix names, you can createmultiple siteswithin thesingle database.

Note: By default in PostgreSQL, the
database schema nameis public, andserver table prefix nameis BoldRS_.
MySQL
To create another site in an existing MySQL database, follow these steps in Bold Reports®:
-
Select the server type as
MySQLServer, and provide the Server name, Username, and Password.
-
Provide the name of the
existing databasethat you previously used to create a site, along with thenew server table prefix name. After providing these details, clickNextto continue.
Note: After configuring the database, follow the steps in Select storage to create a site.
-
Check the tables in the database. In the screenshots below,
userrepresents the existing database.boldrs_is the prefix for the tables created forsite 1.boldrsuser_is the newly created prefix for the tables created forsite 2. Tables for both sites are present within the single database. By differentiating the prefix names, you can createmultiple siteswithin thesingle database.

Note: By default in MySQL, the
server table prefix nameis BoldRS_.
Frequently asked questions
Which databases support multiple sites in a single database?
Bold Reports® supports multiple sites in a single database for MSSQL Server, PostgreSQL, and MySQL. MSSQL and PostgreSQL use a schema and prefix, and MySQL uses a table prefix.
What are the default schema and prefix names?
In MSSQL, the default database schema name is dbo, and in PostgreSQL it is public. The default server table prefix name is BoldRS_ for MSSQL, PostgreSQL, and MySQL.