Documentation/configuration/Database

Correctly configuring the database and the player-user-linking sections are required for CommunityBridge to work. The database section is where you inform CommunityBridge where and how to communicate with the database server that your web application uses. If you're using a MySQL database for something else make sure you are giving CommunityBridge the same database that your web application is using!

NOTE: Many web-hosting companies increase the security of the MySQL database by restricting connections to the database server by address. In those situations, the default configuration is that your database server will only accept connections from the machine that the web server runs on. If your Minecraft server is on a different machine than the web server (very likely) then you will need to contact your web hosting provider and find out how to add your Minecraft server's address to the list of machines that can access your web application's database.

For reference, here is a copy of the blank database section:

database:
  # Hostname for your MySQL Server
  hostname: 

  # MySQL Port
  port: 3306

  # Database Name
  name:

  # Database Username
  username:

  # Database Password
  password:

Comments

Posts Quoted:
Reply
Clear All Quotes