How do I connect mysql
Closed this issue ยท 7 comments
Can someone tell me how to connect my lp plugin to my mysql database. I've read every article, and watched every video out there but still having a hard time.
1.) Make a MySQL server
2.) Make a database in the MySQL server
3.) Fill our the config in the database section of LuckPerms
4.) (Optional) Setup Redist or Bungeecord to sync permissions between servers
What is the error you're getting in the console? Does it say Authentication failed or anything like that?
Well I can't figure what to fill in for where it says "database: minecraft" do I leave it as minecraft or change it to something else
Leave it as Minecraft and I believe that LuckPerms will make a database if not, then you'll have to use the MySQL administrator prompt to create a database named "minecraft" and then try starting LuckPerms again.
The console is giving me this warning
.02 13:36:16 [Server] WARN INFO com.zaxxer.hikari.pool.PoolBase - luckperms - Driver does not support get/set network timeout for connections. (com.mysql.jdbc.JDBC4Connection.getNetworkTimeout()I)
19.02 13:36:16 [Server] WARN INFO com.zaxxer.hikari.HikariDataSource - luckperms - Start completed.
19.02 13:36:16 [Server] WARN INFO com.zaxxer.hikari.HikariDataSource - luckperms - Starting...
Update to the latest version of LuckPerms
https://ci.lucko.me/job/LuckPerms/
... or don't - you can also just ignore the error. :)