I've got a local instance of MySQL installed and running on windows 10 with server running PocketMine-MP 1.7dev-941 for Minecraft: PE [REDACTED] (protocol version 3.0.0-ALPHA12). I've tried to setup SimpleAuth with the following details: #For MySQL: #dataProviderSettings: # host: "127.0.0.1" # port: 3306 # user: "user" # password: "password" # database: "databaseName" dataProviderSettings: host: "127.0.0.1" port: 3306 user: "usertest" password: "password" database: "mcpedb" I'm still receiving an error - [Server thread/CRITICAL]: [SimpleAuth] Invalid MySQL settings. Version on SimpleAuth is v2.1.2-6 by poggit-orphanage Could someone please point out where the problem might be?
Do you have a database on your system? 127.0.0.1 being the device you are on. If so, is it connected to port 3306? If not, then where is this database?
Yes the database is based on the same machine. Port is open. I've done a wordpress install with the same credentials and that has worked...
I would definitely have agreed with you on that, however when I did try that I experienced the following error: [Server thread/CRITICAL]: Error: "Class 'mysqli' not found" (EXCEPTION) in "SimpleAuth-master/src/SimpleAuth/provider/MySQLDataProvider" at line 50 [Server thread/CRITICAL]: ErrorException: "Undefined property: SimpleAuth\SimpleAuth::$provider" (EXCEPTION) in "SimpleAuth-master/src/SimpleAuth/SimpleAuth" at line 499
Just a little note for next time you ask for help: If there is a error on console, show that on your first post too, otherwise people go around like headless chickens