Skip to content
This repository was archived by the owner on May 24, 2018. It is now read-only.
This repository was archived by the owner on May 24, 2018. It is now read-only.

Cant connect to MySQL #112

@bhthun

Description

@bhthun

I use mysql-server and I allowed remote access for all host. And then I config the SimpleAuth :

#Default config for SimpleAuth plugin

#Sets the data provider (yaml, sqlite3, mysql, none).
#Only use none when there is another plugin that will integrate its dataProvider with SimpleAuth
#Be aware that data is not automatically moved between data providers.
dataProvider: yaml

#For MySQL:
#dataProviderSettings:
host: "mcpe.bhthun.com"
port: 3306
user: "root"
password: "MYPASSWORD"
database: "MCPE"
dataProviderSettings: []

#If enabled, existing logged-in accounts won't be kicked if a new player joins with the same name
forceSingleSession: false

#Sets the minimum amount of characters to be used when registering a new account
minPasswordLength: 5

#Will block user after this number of failed attempts. Set to 0 to disable
blockAfterFail: 5

#If enabled, accounts that are using the same unique id (ip + clientId + name) when logging in again will be automatically authenticated
authenticateByLastUniqueId: true

#If enabled, will set all the permissions for simleauth.command.register to false
disableRegister: false

#If enabled, will set all the permissions for simleauth.command.login to false
disableLogin: false

#Number of seconds to wait for a player to be authenticated. If false, disables the timeout
#TODO
authenticateTimeout: 120
`

But it's dont add any data to my MySQL server, How to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions