MikesLab Plugins
Identity
Identity
  • 🌟Identity Wiki
  • General
    • Installation
    • Commands
    • Placeholders
  • CONFIG
    • Introduction
    • Input GUI
    • Value GUI
    • Selector GUI
    • Main GUI
    • How to install your GUI configs
  • Element
    • Element
    • Conditions
    • Actions
  • RESOURCE
    • Colors
  • GUI
    • Layout
    • Page System
  • DATABASE
    • Setup your First Connection
      • MongoDB
      • SQL
      • JSON
Powered by GitBook
On this page
  • MySQL
  • SQLite
  1. DATABASE
  2. Setup your First Connection

SQL

Establish your first SQL Connection

PreviousMongoDBNextJSON

Last updated 10 months ago

MySQL

Follow the format and create your own MySQL Connection string:

database:
  type: SQL
  # Format: protocol//[hosts][/database][?properties]
  uri: "jdbc:mysql://127.0.0.1:3307/" # Example Connection String
  password: ""
  username: "root" # It's recommended NOT to use the root user, 
                   # please create one with writing and reading privileges
  table: "identities" # Auto-Generated if not exists
  database: "api_testunit"

SQLite

Follow the format and create your own SQLite Connection String, if the file doesn't exists, it will be generated:

database:
  type: SQL
  uri: "jdbc:sqlite:{dataFolder}/identity.db" # Example Connection String
  password: ""
  username: ""
  table: "identities" # Auto-Generated if not exists 
  database: ""