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

Cant connect to MySQL #112

Open
bhthun opened this issue Jul 31, 2016 · 0 comments
Open

Cant connect to MySQL #112

bhthun opened this issue Jul 31, 2016 · 0 comments

Comments

@bhthun
Copy link

bhthun commented Jul 31, 2016

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant