dbPassword

The password for authenticating with the MySQL database server.

This property contains the password for the MySQL user account specified in dbUsername. The password is stored in the configuration file and should be protected appropriately on the server filesystem.

Security Considerations:

  • Configuration files should have restricted file permissions (600 or 640)

  • Passwords should be strong and unique to the database user

  • Consider using MySQL's authentication plugins for enhanced security

  • Regularly rotate database passwords as part of security best practices

Password Requirements:

  • MySQL password length and complexity depend on server configuration

  • Special characters may need escaping in YAML configuration

  • Empty passwords are supported but strongly discouraged

Default Value: "password" (should be changed immediately in production)

Configuration Key: "database.password"

File Security: The configuration file containing this password should be:

  • Owned by the server administrator or Minecraft server user

  • Readable only by the server process user

  • Not accessible by other system users

  • Excluded from version control systems

Since

1.0.0