dbUsername

The username for authenticating with the MySQL database server.

This property specifies the MySQL user account that the plugin will use to connect to the database. This user must have appropriate permissions to create, read, update, and delete data within the specified database.

Required Permissions: The database user must have the following MySQL privileges:

  • SELECT: Reading data from tables

  • INSERT: Adding new records

  • UPDATE: Modifying existing records

  • DELETE: Removing records

  • CREATE: Creating new tables during initialization

  • ALTER: Modifying table structures for updates

  • INDEX: Creating indexes for performance optimization

Security Best Practices:

  • Use a dedicated database user specifically for the McMMO plugin

  • Grant only the minimum necessary permissions

  • Avoid using root or administrative database accounts

  • Consider using MySQL roles for permission management

Default Value: "user" (should be changed in production)

Configuration Key: "database.username"

Since

1.0.0