Ошибка при подключении DSKAuth к бд

Terror2020

Пользователь
Плагин
DSKAuth
Ядро сервера
Spigot
Версия сервера
1.11.2
подключил плагин к базе данных, но почему-то выбивает ошибку
Код:
02:05:57 [INFO] Couldn't detect bungee version. Custom build?
02:05:57 [INFO] Loaded plugin reconnect_yaml version git:reconnect_yaml:1.15-SNA
PSHOT:f1c32f8:1489 by SpigotMC
02:05:57 [INFO] Loaded plugin cmd_find version git:cmd_find:1.15-SNAPSHOT:f1c32f
8:1489 by SpigotMC
02:05:57 [INFO] Loaded plugin cmd_server version git:cmd_server:1.15-SNAPSHOT:f1
c32f8:1489 by SpigotMC
02:05:57 [INFO] Loaded plugin cmd_alert version git:cmd_alert:1.15-SNAPSHOT:f1c3
2f8:1489 by SpigotMC
02:05:57 [INFO] Loaded plugin cmd_send version git:cmd_send:1.15-SNAPSHOT:f1c32f
8:1489 by SpigotMC
02:05:57 [INFO] Loaded plugin cmd_list version git:cmd_list:1.15-SNAPSHOT:f1c32f
8:1489 by SpigotMC
02:05:58 [INFO] Loaded plugin DSKAuth version 0.6.1 by DSK
02:06:01 [INFO] Enabled plugin reconnect_yaml version git:reconnect_yaml:1.15-SN
APSHOT:f1c32f8:1489 by SpigotMC
02:06:01 [INFO] Enabled plugin cmd_find version git:cmd_find:1.15-SNAPSHOT:f1c32
f8:1489 by SpigotMC
02:06:01 [INFO] Enabled plugin cmd_server version git:cmd_server:1.15-SNAPSHOT:f
1c32f8:1489 by SpigotMC
02:06:01 [INFO] Enabled plugin cmd_alert version git:cmd_alert:1.15-SNAPSHOT:f1c
32f8:1489 by SpigotMC
02:06:01 [INFO] Enabled plugin cmd_send version git:cmd_send:1.15-SNAPSHOT:f1c32
f8:1489 by SpigotMC
02:06:01 [INFO] Enabled plugin cmd_list version git:cmd_list:1.15-SNAPSHOT:f1c32
f8:1489 by SpigotMC
02:06:02 [INFO] [DSKAuth] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
02:06:02 [INFO] [DSKAuth] (DSKAuth)  Не удалось проверить обновления, но я включ
ился :)
02:06:02 [INFO] [DSKAuth] Скачать: http://xlnt.ovh/dskauth
02:06:02 [INFO] [DSKAuth] Версия: 0.6.1
02:06:02 [INFO] [DSKAuth] Автор: DSK
02:06:02 [INFO] [DSKAuth] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
02:06:09 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionExc
eption: Could not create connection to database server. Attempted reconnect 3 ti
mes. Giving up.
02:06:09 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native Method)
02:06:09 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(U
nknown Source)
02:06:09 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstan
ce(Unknown Source)
02:06:09 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Sourc
e)
02:06:09 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
02:06:09 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:408)
02:06:09 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
a:919)
02:06:09 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
a:898)
02:06:09 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
a:887)
02:06:09 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
a:861)
02:06:09 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.connectWithRetries(Connec
tionImpl.java:2095)
02:06:09 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImp
l.java:2020)
02:06:09 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.jav
a:768)
02:06:09 [SEVERE]     at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.j
ava:47)
02:06:09 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native Method)
02:06:09 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(U
nknown Source)
02:06:09 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstan
ce(Unknown Source)
02:06:09 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Sourc
e)
02:06:09 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
02:06:09 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImp
l.java:385)
02:06:09 [SEVERE]     at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegister
ingDriver.java:323)
02:06:09 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
02:06:09 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
02:06:09 [SEVERE]     at java.lang.invoke.MethodHandleImpl$BindCaller$T/31803305
.invoke_V(Unknown Source)
02:06:09 [SEVERE]     at vk.com.etodsk.auth.DataBase.getConnection(DataBase.java
:59)
02:06:09 [SEVERE]     at vk.com.etodsk.auth.DataBase.<init>(DataBase.java:43)
02:06:09 [SEVERE]     at vk.com.etodsk.auth.Manager.onEnable(Manager.java:129)
02:06:09 [SEVERE]     at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(
PluginManager.java:250)
02:06:09 [SEVERE]     at net.md_5.bungee.BungeeCord.start(BungeeCord.java:313)
02:06:09 [SEVERE]     at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLaunc
her.java:43)
02:06:09 [SEVERE]     at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
02:06:09 [SEVERE] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorExc
eption: Access denied for user 'srv22204'@'%' to database 'DSKAuth'
02:06:09 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native Method)
02:06:09 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(U
nknown Source)
02:06:09 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstan
ce(Unknown Source)
02:06:09 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Sourc
e)
02:06:09 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
02:06:09 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:408)
02:06:09 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
a:944)
02:06:09 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:39
33)
02:06:09 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:38
69)
02:06:09 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:86
4)
02:06:09 [SEVERE]     at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAut
hentication(MysqlIO.java:1707)
02:06:09 [SEVERE]     at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1217)
02:06:09 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImp
l.java:2189)
02:06:09 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.connectWithRetries(Connec
tionImpl.java:2036)
02:06:09 [SEVERE]     ... 20 more
02:06:14 [SEVERE] com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionExc
eption: Could not create connection to database server. Attempted reconnect 3 ti
mes. Giving up.
02:06:14 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native Method)
02:06:14 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(U
nknown Source)
02:06:14 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstan
ce(Unknown Source)
02:06:14 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Sourc
e)
02:06:14 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
02:06:14 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:408)
02:06:14 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
a:919)
02:06:14 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
a:898)
02:06:14 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
a:887)
02:06:14 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
a:861)
02:06:14 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.connectWithRetries(Connec
tionImpl.java:2095)
02:06:14 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImp
l.java:2020)
02:06:14 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.jav
a:768)
02:06:14 [SEVERE]     at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.j
ava:47)
02:06:14 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native Method)
02:06:14 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(U
nknown Source)
02:06:14 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstan
ce(Unknown Source)
02:06:14 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Sourc
e)
02:06:14 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
02:06:14 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImp
l.java:385)
02:06:14 [SEVERE]     at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegister
ingDriver.java:323)
02:06:14 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
02:06:14 [SEVERE]     at java.sql.DriverManager.getConnection(Unknown Source)
02:06:14 [SEVERE]     at java.lang.invoke.MethodHandleImpl$BindCaller$T/31803305
.invoke_V(Unknown Source)
02:06:14 [SEVERE]     at vk.com.etodsk.auth.DataBase.getConnection(DataBase.java
:59)
02:06:14 [SEVERE]     at vk.com.etodsk.auth.DataBase.execute(DataBase.java:97)
02:06:14 [SEVERE]     at vk.com.etodsk.auth.DataBase.<init>(DataBase.java:44)
02:06:14 [SEVERE]     at vk.com.etodsk.auth.Manager.onEnable(Manager.java:129)
02:06:14 [SEVERE]     at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(
PluginManager.java:250)
02:06:14 [SEVERE]     at net.md_5.bungee.BungeeCord.start(BungeeCord.java:313)
02:06:14 [SEVERE]     at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLaunc
her.java:43)
02:06:14 [SEVERE]     at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
02:06:14 [SEVERE] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorExc
eption: Access denied for user 'srv22204'@'%' to database 'DSKAuth'
02:06:14 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(
Native Method)
02:06:14 [SEVERE]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(U
nknown Source)
02:06:14 [SEVERE]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstan
ce(Unknown Source)
02:06:14 [SEVERE]     at java.lang.reflect.Constructor.newInstance(Unknown Sourc
e)
02:06:14 [SEVERE]     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
02:06:14 [SEVERE]     at com.mysql.jdbc.Util.getInstance(Util.java:408)
02:06:14 [SEVERE]     at com.mysql.jdbc.SQLError.createSQLException(SQLError.jav
a:944)
02:06:14 [SEVERE]     at com.mysql.jdbc.MysqlIO.
checkErrorPacket(MysqlIO.java:39
33)
02:06:14 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:38
69)
02:06:14 [SEVERE]     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:86
4)
02:06:14 [SEVERE]     at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAut
hentication(MysqlIO.java:1707)
02:06:14 [SEVERE]     at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1217)
02:06:14 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImp
l.java:2189)
02:06:14 [SEVERE]     at com.mysql.jdbc.ConnectionImpl.connectWithRetries(Connec
tionImpl.java:2036)
02:06:14 [SEVERE]     ... 21 more
02:06:14 [WARNING] Exception encountered when loading plugin: DSKAuth
java.lang.NullPointerException
    at java.lang.invoke.DirectMethodHandle$Interface.checkReceiver(Unknown Sourc
e)
    at vk.com.etodsk.auth.DataBase.execute(DataBase.java:97)
    at vk.com.etodsk.auth.DataBase.<init>(DataBase.java:44)
    at vk.com.etodsk.auth.Manager.onEnable(Manager.java:129)
    at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java
:250)
    at net.md_5.bungee.BungeeCord.start(BungeeCord.java:313)
    at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:43)
    at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)
02:06:20 [INFO] Listening on /0.0.0.0:25565
02:06:21 [INFO] Started query on /0:0:0:0:0:0:0:0:25565
>
Код:
MySQL:
  enable: true
  useSSL: 'true' #Если не работает подключение к базе, то поставь true или false
  host: 'хост'
  table: 'DSKAuth'
  username: 'юзер'
  password: '************'

вот настройка конфига, пробовал различные варианты false/true
не знаю что делать
 

Комнаты в чате

Верх Низ