ZauberCMS
  • 🪄Welcome to ZauberCMS
  • Getting Started
    • 💡Quick Start
      • Databases
  • Creating A Website
    • 📹Website Build Video Tutorial
    • Content Types
      • Element Types
      • Compositions
    • Current Content Properties
      • Textbox & Textarea
      • Text Editor (Radzen)
      • Text Editor (TinyMCE)
      • Numeric
      • True / False
      • Rating
      • Checkbox, Dropdown & Radio Lists
      • Media Picker
      • Navigation
      • Material Icon Picker
      • Content Picker
      • Date Picker
      • Custom Component Picker
      • Api Key Picker
      • Colour Picker
      • Block List Editor
      • Editor Notes
      • Google Map Location Picker
      • Simple List Manager
      • Simple Dictionary Manager
      • SEO Property
      • Code Editor
      • Colour Theme Picker
    • Content
      • Publish & Unpublish
    • Querying Data
      • Extension Methods
    • Views
    • Controllers (Route Hi-Jacking)
    • Custom Components
    • Users & Roles
      • Restrict Access By Role
    • Logs
    • Audit
    • Global Settings
      • Using Global Settings
    • SEO Sitemaps
    • Hosting
  • Extending ZauberCMS
    • Overview
    • BlockListEditor
      • Content Block Preview
      • Content Block
    • Custom List Data
    • Custom Content Property
    • Custom Validation
    • Custom Admin Sections
      • Section Nav Group Menu
      • Trees
        • Tree Context Menus
      • Reusing Content Editors
    • Saving Custom Data
    • Using AppState Events
    • Before & After Save
    • Email & Storage Providers
    • Seed Data
    • SEO Checks
  • Identity
    • Overview
    • External Authentication Providers
    • Account Layout
  • Language
    • Overview
    • Adding Language Dictionaries
    • Setting The Language
    • Using Language Dictionaries
  • AppSettings
    • Detailed Errors
    • Media Settings
    • Enable Path Urls
Powered by GitBook
On this page
  • Sqlite
  • Sql Server
  • PostgreSql
  1. Getting Started
  2. Quick Start

Databases

ZauberCMS currently supports 3 different databases.

Sqlite

Out of the box it's set up with SQLite, and you don't need to change anything to use this database.

Sql Server

You can opt to use SQL server as your database, you just need to update the appsettings to tell Zauber to use MS SqlServer as the DatabaseProvider and add your connection string (Example).

"DatabaseProvider": "SqlServer",
"ConnectionString": "Server=MSSQLSERVER;Database=ZauberCMS;Trusted_Connection=True;Connect Timeout=200;TrustServerCertificate=True;",

PostgreSql

Finally, we now support PostgreSql. Just like above, you need to update the appSettings to tell Zauber you want to use PostgreSql as the DatabaseProvider and add your connection string

"DatabaseProvider": "PostgreSql",
"ConnectionString": "Host=localhost;Port=5432;Database=ZauberCMS;Username=postgres;Password=yourpassword"
PreviousQuick StartNextWebsite Build Video Tutorial

Last updated 1 month ago

💡