Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Problem z pluginami


Mc_player

Rekomendowane odpowiedzi

Opublikowano

Witam, mam pewien problem z pluginami (wszystkimi które sprawdzałem, authme, logblock) chodzi o to, że wyskakuje mi dziwny komunikat ,,No database connected. Check your MySQL user/pw and database for typos. Start/restart your MySQL server.,, ktoś wie jak to rozwiązać?    błąd.png

Opublikowano

Zmieniałeś domyślne pliki konfiguracyjne tych pluginów?

Spróbuj usunąć ich foldery żeby wygenerowały się na nowo.

Wyłącz certyfikat SSL w configu (authme).

 

Jeżeli to nie pomoże to podaj logi z konsoli, wersje silnika i pluginów.

Opublikowano

nie ma authme, ponieważ  przez niego server miał problem z uruchomieniem się. Tu są logi       

******************************         Login Passed... Welcome       ******************************

[12:01:52] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Kelp Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911
[12:01:52] [Server thread/INFO]: Max TNT Explosions: 100
[12:01:52] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[12:01:52] [Server thread/INFO]: Mob Spawn Range: 6
[12:01:52] [Server thread/INFO]: View Distance: 10
[12:01:52] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[12:01:52] [Server thread/INFO]: Item Despawn Rate: 6000
[12:01:52] [Server thread/INFO]: Item Merge Radius: 2.5
[12:01:52] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[12:01:52] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[12:01:52] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[12:01:52] [Server thread/INFO]: -------- World Settings For [world_the_end] --------
[12:01:52] [Server thread/INFO]: Experience Merge Radius: 3.0
[12:01:52] [Server thread/INFO]: Entity Activation Range: An 32 / Mo 32 / Ra 48 / Mi 16 / Tiv true
[12:01:52] [Server thread/INFO]: Entity Tracking Range: Pl 48 / An 48 / Mo 48 / Mi 32 / Other 64
[12:01:52] [Server thread/INFO]: Hopper Transfer: 8 Hopper Check: 1 Hopper Amount: 1
[12:01:52] [Server thread/INFO]: Cactus Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Cane Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Melon Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Mushroom Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Pumpkin Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Sapling Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Beetroot Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Carrot Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Potato Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Wheat Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: NetherWart Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Vine Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Cocoa Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Bamboo Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: SweetBerry Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Kelp Growth Modifier: 100%
[12:01:52] [Server thread/INFO]: Custom Map Seeds:  Village: 10387312 Desert: 14357617 Igloo: 14357618 Jungle: 14357619 Swamp: 14357620 Monument: 10387313Ocean: 14357621 Shipwreck: 165745295 Slime: 987234911
[12:01:52] [Server thread/INFO]: Max TNT Explosions: 100
[12:01:52] [Server thread/INFO]: Tile Max Tick Time: 50ms Entity max Tick Time: 50ms
[12:01:52] [Server thread/INFO]: Mob Spawn Range: 6
[12:01:52] [Server thread/INFO]: View Distance: 10
[12:01:52] [Server thread/INFO]: Allow Zombie Pigmen to spawn from portal blocks: true
[12:01:52] [Server thread/INFO]: Item Despawn Rate: 6000
[12:01:52] [Server thread/INFO]: Item Merge Radius: 2.5
[12:01:52] [Server thread/INFO]: Arrow Despawn Rate: 1200 Trident Respawn Rate:1200
[12:01:52] [Server thread/INFO]: Zombie Aggressive Towards Villager: true
[12:01:52] [Server thread/INFO]: Nerfing mobs spawned from spawners: false
[12:01:52] [Server thread/INFO]: Preparing start region for dimension 'world'/minecraft:overworld
[12:01:53] [Server thread/INFO]: Preparing spawn area: 0%
[12:01:53] [Server thread/INFO]: Preparing spawn area: 0%
[12:01:53] [Server thread/INFO]: Preparing spawn area: 34%
[12:01:55] [Server-Worker-3/INFO]: Preparing spawn area: 83%
[12:01:55] [Server-Worker-3/INFO]: Preparing spawn area: 83%
[12:01:55] [Server-Worker-5/INFO]: Preparing spawn area: 83%
[12:01:55] [Server-Worker-2/INFO]: Preparing spawn area: 83%
[12:01:56] [Server thread/INFO]: Time elapsed: 3359 ms
[12:01:56] [Server thread/INFO]: Preparing start region for dimension 'world_nether'/minecraft:the_nether
[12:01:56] [Server thread/INFO]: Preparing spawn area: 0%
[12:01:56] [Server thread/INFO]: Preparing spawn area: 1%
[12:01:57] [Server-Worker-3/INFO]: Preparing spawn area: 83%
[12:01:57] [Server-Worker-2/INFO]: Preparing spawn area: 87%
[12:01:58] [Server thread/INFO]: Time elapsed: 1974 ms
[12:01:58] [Server thread/INFO]: Preparing start region for dimension 'world_the_end'/minecraft:the_end
[12:01:58] [Server thread/INFO]: Preparing spawn area: 0%
[12:01:58] [Server-Worker-7/INFO]: Preparing spawn area: 87%
[12:01:58] [Server thread/INFO]: Time elapsed: 608 ms
[12:01:58] [Server thread/INFO]: [LogBlock] Enabling LogBlock v1.15.2
[12:01:58] [Server thread/INFO]: [LogBlock] Connecting to username@jdbc:mysql://localhost:3306/minecraft...
[12:01:58] [Server thread/INFO]: LogBlock-Connection-Pool - Starting...
[12:01:58] [Server thread/ERROR]: LogBlock-Connection-Pool - Exception during pool initialization.
com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_191]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_191]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_191]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_191]
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:335) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2187) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2220) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2015) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:768) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_191]
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_191]
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_191]
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_191]
    at com.mysql.jdbc.Util.handleNewInstance(Util.java:425) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at de.diddiz.lib.com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:138) ~[LogBlock-1.15.2.jar:?]
    at de.diddiz.lib.com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:353) ~[LogBlock-1.15.2.jar:?]
    at de.diddiz.lib.com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:201) ~[LogBlock-1.15.2.jar:?]
    at de.diddiz.lib.com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:473) [LogBlock-1.15.2.jar:?]
    at de.diddiz.lib.com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:562) [LogBlock-1.15.2.jar:?]
    at de.diddiz.lib.com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:115) [LogBlock-1.15.2.jar:?]
    at de.diddiz.lib.com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:112) [LogBlock-1.15.2.jar:?]
    at de.diddiz.util.MySQLConnectionPool.getConnection(MySQLConnectionPool.java:44) [LogBlock-1.15.2.jar:?]
    at de.diddiz.LogBlock.LogBlock.getConnection(LogBlock.java:255) [LogBlock-1.15.2.jar:?]
    at de.diddiz.LogBlock.LogBlock.onEnable(LogBlock.java:78) [LogBlock-1.15.2.jar:?]
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) [spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:352) [spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:417) [spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugin(CraftServer.java:462) [spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at org.bukkit.craftbukkit.v1_15_R1.CraftServer.enablePlugins(CraftServer.java:376) [spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.MinecraftServer.a(MinecraftServer.java:457) [spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.DedicatedServer.init(DedicatedServer.java:267) [spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at net.minecraft.server.v1_15_R1.MinecraftServer.run(MinecraftServer.java:784) [spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
Caused by: java.net.ConnectException: Connection refused (Connection refused)
    at java.net.PlainSocketImpl.socketConnect(Native Method) ~[?:1.8.0_191]
    at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[?:1.8.0_191]
    at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[?:1.8.0_191]
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[?:1.8.0_191]
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[?:1.8.0_191]
    at java.net.Socket.connect(Socket.java:589) ~[?:1.8.0_191]
    at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:299) ~[spigot_1.15.2.jar:git-Spigot-800b93f-8160e29]
    ... 31 more
[12:01:58] [Server thread/ERROR]: [LogBlock] Could not connect to the Database! Please check your config! Communications link failure

The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.
[12:01:58] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it
[12:01:59] [Server thread/INFO]: Done (7.597s)! For help, type "help"
[12:01:59] [Server thread/INFO]: Starting GS4 status listener
[12:01:59] [Query Listener #1/INFO]: Query running on 51.83.193.68:27680
 

Opublikowano

W configu zamień "localhost" na "127.0.0.1"

Jeśli posiadasz serwer na hostingu zobacz czy masz jakiś przypisany port do bazy MYSQL (jeśli tak zamień 3306 na port podany w panelu).

Jeśli to nie zadziała, to stwórz bazę danych na jakimś hostingu i podaj jej dane w configu logblocka.

 

W authme spróbuj usunąć certyfikat SSL i zobacz czy działa, możesz też podać logi jakie generuje authme.

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...