Хостинг серверов Minecraft playvds.com
  1. Вы находитесь в русском сообществе Bukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на русский язык плагины наших собратьев из других стран.
    Скрыть объявление

Помогите Не подключается плагин к БД mysql

Тема в разделе "Помощь", создана пользователем Дан4ик_ёпт, 11 ноя 2020.

  1. Автор темы
    Дан4ик_ёпт

    Дан4ик_ёпт Активный участник Пользователь

    Баллы:
    61
    Имя в Minecraft:
    hugo1pro
    Плагин не подключается к базе данных, пробовал разные хостинги, локальный и ничего не помогает, выдаёт ошибку. Плагин не мой, знаменитый RPG Azerus.

    Код:
    [11:43:51] [Server thread/INFO]: [RMCS] Enabling RMCS v1.4.0.1
    [11:43:51] [Server thread/INFO]: [RMCS] -===Entering configuration section===-
    [11:43:51] [Server thread/INFO]: [RMCS] There's no need in creation of configuration file.
    [11:43:51] [Server thread/INFO]: [RMCS] -===Entering remote connections section===-
    [11:44:13] [Server thread/WARN]: [RMCS] Could not be resolved because of an SQL Exception!
    [11:44:13] [Server thread/WARN]: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 10 times. Giving up.
    [11:44:13] [Server thread/WARN]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [11:44:13] [Server thread/WARN]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.Util.getInstance(Util.java:408)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2094)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2019)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    [11:44:13] [Server thread/WARN]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [11:44:13] [Server thread/WARN]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
    [11:44:13] [Server thread/WARN]:     at java.sql.DriverManager.getConnection(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at java.sql.DriverManager.getConnection(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at sexy.kostya.mineos.sql.Connector.open(Connector.java:119)
    [11:44:13] [Server thread/WARN]:     at sexy.kostya.mineos.sql.Connector.checkConnection(Connector.java:111)
    [11:44:13] [Server thread/WARN]:     at sexy.kostya.mineos.sql.Connector.initialize(Connector.java:91)
    [11:44:13] [Server thread/WARN]:     at sexy.kostya.mineos.sql.ConnectorBuilder.build(ConnectorBuilder.java:122)
    [11:44:13] [Server thread/WARN]:     at sexy.kostya.mineos.MultiUtils.initPermissionsConnector(MultiUtils.java:55)
    [11:44:13] [Server thread/WARN]:     at ru.luvas.rmcs.MainClass.onEnable(MainClass.java:134)
    [11:44:13] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:264)
    [11:44:13] [Server thread/WARN]:     at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:337)
    [11:44:13] [Server thread/WARN]:     at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:403)
    [11:44:13] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugin(CraftServer.java:381)
    [11:44:13] [Server thread/WARN]:     at org.bukkit.craftbukkit.v1_12_R1.CraftServer.enablePlugins(CraftServer.java:330)
    [11:44:13] [Server thread/WARN]:     at net.minecraft.server.v1_12_R1.MinecraftServer.t(MinecraftServer.java:422)
    [11:44:13] [Server thread/WARN]:     at net.minecraft.server.v1_12_R1.MinecraftServer.l(MinecraftServer.java:383)
    [11:44:13] [Server thread/WARN]:     at net.minecraft.server.v1_12_R1.MinecraftServer.a(MinecraftServer.java:338)
    [11:44:13] [Server thread/WARN]:     at net.minecraft.server.v1_12_R1.DedicatedServer.init(DedicatedServer.java:272)
    [11:44:13] [Server thread/WARN]:     at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:545)
    [11:44:13] [Server thread/WARN]:     at java.lang.Thread.run(Unknown Source)
    [11:44:13] [Server thread/WARN]: Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Access denied for user 'sql7375759'@'%' to database 'permissions'
    [11:44:13] [Server thread/WARN]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [11:44:13] [Server thread/WARN]:     at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at java.lang.reflect.Constructor.newInstance(Unknown Source)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.Util.getInstance(Util.java:408)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:944)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3973)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3909)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:873)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(MysqlIO.java:1710)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1226)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2188)
    [11:44:13] [Server thread/WARN]:     at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2035)
    [11:44:13] [Server thread/WARN]:     ... 29 more
    [11:44:13] [Server thread/INFO]: [RMCS] [PermissionsSQL] Unable to connect to database!
    [11:44:34] [Server thread/WARN]: [RMCS] Could not be resolved because of an SQL Exception!
    [11:44:34] [Server thread/WARN]: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 10 times. Giving up.
    [/SPOILER]
     
  2. Хостинг MineCraft
    <
  3. alexandrage

    alexandrage Администратор

    Баллы:
    173
    Skype:
    alexandr0116
    Нет прав на базу у пользователя mysql
     

Поделиться этой страницей