1. Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Connecting With MySQL (Skellett) [SOLVED]

Discussion in 'Skript' started by Mr_Equalizer, Dec 26, 2019.

Thread Status:
Not open for further replies.
  1. Mr_Equalizer

    Mr_Equalizer New Member

    Joined:
    Oct 15, 2019
    Messages:
    5
    Likes Received:
    0
    Hello, How i have a problem when using skellett mysql
    i use this code
    Code (Text):
    1.     set mysql host to "<ip>:<port>"
    2.     set mysql username to "<Username>"
    3.     set mysql password to "<password"
    4.     set mysql database to "<Database>"
    5.     connect to mysql
    6.     skellett mysql update "CREATE TABLE IF NOT EXISTS `table` (`id` varchar(255),`value` varchar(255))"
    7.     skellett mysql update "ALTER TABLE table ADD UNIQUE (id, value)"
    I get 0 errors but it doesnt cerate a table

     
    #1 Mr_Equalizer, Dec 26, 2019
    Last edited: Dec 26, 2019
  2. Best Answer:
    Post #7 by TPGamesNL, Dec 28, 2019
  3. TheCringleYT

    TheCringleYT Active Member

    Joined:
    Sep 29, 2019
    Messages:
    195
    Likes Received:
    4
    Try looking on Skript hub (skripthub.net) or if you can't find anything try making a variable with the infomation containing the Skript / skellett update because I'm not 100% sure what your trying to do :emoji_mrs_claus:

    +

    Try doing <password> not <password
     
  4. Mr_Equalizer

    Mr_Equalizer New Member

    Joined:
    Oct 15, 2019
    Messages:
    5
    Likes Received:
    0
    Hello i use <Password> as a placeholder because i dont want to leak any information and i looked it up and this is what i thoufght how to use it as i test i just want to create a table
     
  5. TheCringleYT

    TheCringleYT Active Member

    Joined:
    Sep 29, 2019
    Messages:
    195
    Likes Received:
    4
    Try executing the command from a console for your player - set the command to have:

    Code (Text):
    1. command /table [<offlineplayer>]
    If that doesn't work then look on skripthub like I mentioned (skripthub.net) or make a request in the 'Requests' section on the SkUnity page (forums.skunity.com/fourms/requests) or try updating all your Skript files and addons to match the newest ones :emoji_wink:
     
    #4 TheCringleYT, Dec 27, 2019
    Last edited: Dec 27, 2019
  6. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Check console for any connection errors. There is also a seperate expression for host and port
     
  7. Mr_Equalizer

    Mr_Equalizer New Member

    Joined:
    Oct 15, 2019
    Messages:
    5
    Likes Received:
    0
    I cant find the right addon and skript version most of the skript versions says when i do any sk command /skript help back || I run 1.12.2 kinda an old version but the latetest version i got working was 2.3.6 and i need some old extentions too like SkUtil wich is quite old and i need vixio
    So if done this but now i have another problem.
    This is my updates code:

    Code (Text):
    1. command /connect:
    2.     trigger:
    3.         set skellett sql host to "<ip>"
    4.         set skellett mysql port to <port without quotes>
    5.         set skellett mysql username to "<user>"
    6.         set skellett mysql password to "<pass>"
    7.         set skellett mysql database to "<db>"
    8.         skellett connect to mysql
    9. command /table:
    10.     trigger:
    11.         skellett mysql update "CREATE TABLE IF NOT EXISTS `table` (`id` varchar(255),`value` varchar(255))"
    12.         skellett mysql update "ALTER TABLE table ADD UNIQUE (id, value)"
    But then i get an error

    Code (Text):
    1.  [19:57:58 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
    2. [19:57:58 ERROR]: The server has not responded for 10 seconds! Creating thread dump
    3. [19:57:58 ERROR]: ------------------------------
    4. [19:57:58 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
    5. [19:57:58 ERROR]: ------------------------------
    6. [19:57:58 ERROR]: Current Thread: Server thread
    7. [19:57:58 ERROR]: PID: 16 | Suspended: false | Native: true | State: RUNNABLE
    8. [19:57:58 ERROR]: Stack:
    9. [19:57:58 ERROR]: java.net.PlainSocketImpl.socketConnect(Native Method)
    10. [19:57:58 ERROR]: java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    11. [19:57:58 ERROR]: java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    12. [19:57:58 ERROR]: java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    13. [19:57:58 ERROR]: java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    14. [19:57:58 ERROR]: java.net.Socket.connect(Socket.java:589)
    15. [19:57:58 ERROR]: com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211)
    16. [19:57:58 ERROR]: com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:300)
    17. [19:57:58 ERROR]: com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2186)
    18. [19:57:58 ERROR]: com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2219)
    19. [19:57:58 ERROR]: com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2014)
    20. [19:57:58 ERROR]: com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
    21. [19:57:58 ERROR]: com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    22. [19:57:58 ERROR]: sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    23. [19:57:58 ERROR]: sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    24. [19:57:58 ERROR]: sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    25. [19:57:58 ERROR]: java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    26. [19:57:58 ERROR]: com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
    27. [19:57:58 ERROR]: com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
    28. [19:57:58 ERROR]: com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
    29. [19:57:58 ERROR]: java.sql.DriverManager.getConnection(DriverManager.java:664)
    30. [19:57:58 ERROR]: java.sql.DriverManager.getConnection(DriverManager.java:247)
    31. [19:57:58 ERROR]: com.gmail.thelimeglass.MySQL.MySQLManager.setConnection(MySQLManager.java:27)
    32. [19:57:58 ERROR]: com.gmail.thelimeglass.MySQL.EffMySQLConnect.execute(EffMySQLConnect.java:35)
    33. [19:57:58 ERROR]: ch.njol.skript.lang.Effect.run(Effect.java:52)
    34. [19:57:58 ERROR]: ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    35. [19:57:58 ERROR]: ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    36. [19:57:58 ERROR]: ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
    37. [19:57:58 ERROR]: ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:298)
    38. [19:57:58 ERROR]: ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:255)
    39. [19:57:58 ERROR]: ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:200)
    40. [19:57:58 ERROR]: org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    41. [19:57:58 ERROR]: org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152)
    42. [19:57:58 ERROR]: org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685)
    43. [19:57:58 ERROR]: org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:648)
    44. [19:57:58 ERROR]: net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:463)
    45. [19:57:58 ERROR]: net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:424)
    46. [19:57:58 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
    47. [19:57:58 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
    48. [19:57:58 ERROR]: java.lang.Thread.run(Thread.java:748)
    49. [19:57:58 ERROR]: ------------------------------
    50. [19:57:58 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
    51. [19:57:58 ERROR]: ------------------------------
    52. [19:58:03 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
    53. [19:58:03 ERROR]: The server has not responded for 15 seconds! Creating thread dump
    54. [19:58:03 ERROR]: ------------------------------
    55. [19:58:03 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
    56. [19:58:03 ERROR]: ------------------------------
    57. [19:58:03 ERROR]: Current Thread: Server thread
    58. [19:58:03 ERROR]: PID: 16 | Suspended: false | Native: true | State: RUNNABLE
    59. [19:58:03 ERROR]: Stack:
    60. [19:58:03 ERROR]: java.net.PlainSocketImpl.socketConnect(Native Method)
    61. [19:58:03 ERROR]: java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    62. [19:58:03 ERROR]: java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    63. [19:58:03 ERROR]: java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    64. [19:58:03 ERROR]: java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    65. [19:58:03 ERROR]: java.net.Socket.connect(Socket.java:589)
    66. [19:58:03 ERROR]: com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211)
    67. [19:58:03 ERROR]: com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:300)
    68. [19:58:03 ERROR]: com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2186)
    69. [19:58:03 ERROR]: com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2219)
    70. [19:58:03 ERROR]: com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2014)
    71. [19:58:03 ERROR]: com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
    72. [19:58:03 ERROR]: com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    73. [19:58:03 ERROR]: sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    74. [19:58:03 ERROR]: sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    75. [19:58:03 ERROR]: sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    76. [19:58:03 ERROR]: java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    77. [19:58:03 ERROR]: com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
    78. [19:58:03 ERROR]: com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
    79. [19:58:03 ERROR]: com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
    80. [19:58:03 ERROR]: java.sql.DriverManager.getConnection(DriverManager.java:664)
    81. [19:58:03 ERROR]: java.sql.DriverManager.getConnection(DriverManager.java:247)
    82. [19:58:03 ERROR]: com.gmail.thelimeglass.MySQL.MySQLManager.setConnection(MySQLManager.java:27)
    83. [19:58:03 ERROR]: com.gmail.thelimeglass.MySQL.EffMySQLConnect.execute(EffMySQLConnect.java:35)
    84. [19:58:03 ERROR]: ch.njol.skript.lang.Effect.run(Effect.java:52)
    85. [19:58:03 ERROR]: ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    86. [19:58:03 ERROR]: ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    87. [19:58:03 ERROR]: ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
    88. [19:58:03 ERROR]: ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:298)
    89. [19:58:03 ERROR]: ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:255)
    90. [19:58:03 ERROR]: ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:200)
    91. [19:58:03 ERROR]: org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    92. [19:58:03 ERROR]: org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152)
    93. [19:58:03 ERROR]: org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685)
    94. [19:58:03 ERROR]: org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:648)
    95. [19:58:03 ERROR]: net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:463)
    96. [19:58:03 ERROR]: net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:424)
    97. [19:58:03 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
    98. [19:58:03 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
    99. [19:58:03 ERROR]: java.lang.Thread.run(Thread.java:748)
    100. [19:58:03 ERROR]: ------------------------------
    101. [19:58:03 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
    102. [19:58:03 ERROR]: ------------------------------
    103. [19:58:08 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
    104. [19:58:08 ERROR]: The server has not responded for 20 seconds! Creating thread dump
    105. [19:58:08 ERROR]: ------------------------------
    106. [19:58:08 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
    107. [19:58:08 ERROR]: ------------------------------
    108. [19:58:08 ERROR]: Current Thread: Server thread
    109. [19:58:08 ERROR]: PID: 16 | Suspended: false | Native: true | State: RUNNABLE
    110. [19:58:08 ERROR]: Stack:
    111. [19:58:08 ERROR]: java.net.PlainSocketImpl.socketConnect(Native Method)
    112. [19:58:08 ERROR]: java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
    113. [19:58:08 ERROR]: java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
    114. [19:58:08 ERROR]: java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
    115. [19:58:08 ERROR]: java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    116. [19:58:08 ERROR]: java.net.Socket.connect(Socket.java:589)
    117. [19:58:08 ERROR]: com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211)
    118. [19:58:08 ERROR]: com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:300)
    119. [19:58:08 ERROR]: com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2186)
    120. [19:58:08 ERROR]: com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2219)
    121. [19:58:08 ERROR]: com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2014)
    122. [19:58:08 ERROR]: com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:776)
    123. [19:58:08 ERROR]: com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47)
    124. [19:58:08 ERROR]: sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    125. [19:58:08 ERROR]: sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    126. [19:58:08 ERROR]: sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    127. [19:58:08 ERROR]: java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    128. [19:58:08 ERROR]: com.mysql.jdbc.Util.handleNewInstance(Util.java:425)
    129. [19:58:08 ERROR]: com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:386)
    130. [19:58:08 ERROR]: com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:330)
    131. [19:58:08 ERROR]: java.sql.DriverManager.getConnection(DriverManager.java:664)
    132. [19:58:08 ERROR]: java.sql.DriverManager.getConnection(DriverManager.java:247)
    133. [19:58:08 ERROR]: com.gmail.thelimeglass.MySQL.MySQLManager.setConnection(MySQLManager.java:27)
    134. [19:58:08 ERROR]: com.gmail.thelimeglass.MySQL.EffMySQLConnect.execute(EffMySQLConnect.java:35)
    135. [19:58:08 ERROR]: ch.njol.skript.lang.Effect.run(Effect.java:52)
    136. [19:58:08 ERROR]: ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:61)
    137. [19:58:08 ERROR]: ch.njol.skript.lang.TriggerItem.walk(TriggerItem.java:89)
    138. [19:58:08 ERROR]: ch.njol.skript.lang.Trigger.execute(Trigger.java:57)
    139. [19:58:08 ERROR]: ch.njol.skript.command.ScriptCommand.execute2(ScriptCommand.java:298)
    140. [19:58:08 ERROR]: ch.njol.skript.command.ScriptCommand.execute(ScriptCommand.java:255)
    141. [19:58:08 ERROR]: ch.njol.skript.command.ScriptCommand.onCommand(ScriptCommand.java:200)
    142. [19:58:08 ERROR]: org.bukkit.command.PluginCommand.execute(PluginCommand.java:44)
    143. [19:58:08 ERROR]: org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:152)
    144. [19:58:08 ERROR]: org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchCommand(CraftServer.java:685)
    145. [19:58:08 ERROR]: org.bukkit.craftbukkit.v1_12_R1.CraftServer.dispatchServerCommand(CraftServer.java:648)
    146. [19:58:08 ERROR]: net.minecraft.server.v1_12_R1.DedicatedServer.aP(DedicatedServer.java:463)
    147. [19:58:08 ERROR]: net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:424)
    148. [19:58:08 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774)
    149. [19:58:08 ERROR]: net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666)
    150. [19:58:08 ERROR]: java.lang.Thread.run(Thread.java:748)
    151. [19:58:08 ERROR]: ------------------------------
    152. [19:58:08 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
    153. [19:58:08 ERROR]: ------------------------------
    154. [19:58:13 ERROR]: --- DO NOT REPORT THIS TO PAPER - THIS IS NOT A BUG OR A CRASH ---
    155. [19:58:13 ERROR]: The server has not responded for 25 seconds! Creating thread dump
    156. [19:58:13 ERROR]: ------------------------------
    157. [19:58:13 ERROR]: Server thread dump (Look for plugins here before reporting to Paper!):
    158. [19:58:13 ERROR]: ------------------------------
    This will spam every 5 seconds

    and than i get a few last errors
    Code (Text):
    1. [19:58:49 ERROR]: ------------------------------
    2. [19:58:49 ERROR]: Current Thread: JDA Gateway-Worker 1
    3. [19:58:49 ERROR]: PID: 188 | Suspended: false | Native: false | State: TIMED_WAITING
    4. [19:58:49 ERROR]: Stack:
    5. [19:58:49 ERROR]: sun.misc.Unsafe.park(Native Method)
    6. [19:58:49 ERROR]: java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:215)
    7. [19:58:49 ERROR]: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2078)
    8. [19:58:49 ERROR]: java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1093)
    9. [19:58:49 ERROR]: java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
    10. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
    11. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
    12. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    13. [19:58:49 ERROR]: java.lang.Thread.run(Thread.java:748)
    14. [19:58:49 ERROR]: ------------------------------
    15. [19:58:49 ERROR]: Current Thread: JDA RateLimit-Worker 2
    16. [19:58:49 ERROR]: PID: 186 | Suspended: false | Native: false | State: WAITING
    17. [19:58:49 ERROR]: Stack:
    18. [19:58:49 ERROR]: sun.misc.Unsafe.park(Native Method)
    19. [19:58:49 ERROR]: java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    20. [19:58:49 ERROR]: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    21. [19:58:49 ERROR]: java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1081)
    22. [19:58:49 ERROR]: java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
    23. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
    24. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
    25. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    26. [19:58:49 ERROR]: java.lang.Thread.run(Thread.java:748)
    27. [19:58:49 ERROR]: ------------------------------
    28. [19:58:49 ERROR]: Current Thread: OkHttp ConnectionPool
    29. [19:58:49 ERROR]: PID: 185 | Suspended: false | Native: false | State: TIMED_WAITING
    30. [19:58:49 ERROR]: Stack:
    31. [19:58:49 ERROR]: java.lang.Object.wait(Native Method)
    32. [19:58:49 ERROR]: java.lang.Object.wait(Object.java:460)
    33. [19:58:49 ERROR]: okhttp3.ConnectionPool.lambda$new$0(ConnectionPool.java:66)
    34. [19:58:49 ERROR]: okhttp3.ConnectionPool$$Lambda$269/1695579342.run(Unknown Source)
    35. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    36. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    37. [19:58:49 ERROR]: java.lang.Thread.run(Thread.java:748)
    38. [19:58:49 ERROR]: ------------------------------
    39. [19:58:49 ERROR]: Current Thread: JDA RateLimit-Worker 1
    40. [19:58:49 ERROR]: PID: 183 | Suspended: false | Native: false | State: WAITING
    41. [19:58:49 ERROR]: Stack:
    42. [19:58:49 ERROR]: sun.misc.Unsafe.park(Native Method)
    43. [19:58:49 ERROR]: java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
    44. [19:58:49 ERROR]: java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
    45. [19:58:49 ERROR]: java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1081)
    46. [19:58:49 ERROR]: java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:809)
    47. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1074)
    48. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1134)
    49. [19:58:49 ERROR]: java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    50. [19:58:49 ERROR]: java.lang.Thread.run(Thread.java:748)
    51. [19:58:49 ERROR]: ------------------------------
    52. [19:58:49 ERROR]: Current Thread: JDA MainWS-WriteThread
    53. [19:58:49 ERROR]: PID: 181 | Suspended: false | Native: false | State: WAITING
    54. [19:58:49 ERROR]: Stack:
    55. [19:58:49 ERROR]: java.lang.Object.wait(Native Method)
    56. [19:58:49 ERROR]: java.lang.Object.wait(Object.java:502)
    57. [19:58:49 ERROR]: com.neovisionaries.ws.client.WritingThread.waitForFrames(WritingThread.java:305)
    58. [19:58:49 ERROR]: com.neovisionaries.ws.client.WritingThread.main(WritingThread.java:89)
    59. [19:58:49 ERROR]: com.neovisionaries.ws.client.WritingThread.runMain(WritingThread.java:55)
    60. [19:58:49 ERROR]: com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)
    61. [19:58:49 ERROR]: ------------------------------
    62. [19:58:49 ERROR]: Current Thread: JDA MainWS-ReadThread
    63.  
    Then state changes from WAITING to TIMED_WAITING
    Andjust withing a few seconds auto spam in pterodactyl triggers
    and then a few seconds later The server chrashes and pterodactyl syays its in a crahsed state
     
  8. TPGamesNL

    Supporter Addon Developer Dev Programme

    Joined:
    Jan 20, 2018
    Messages:
    1,501
    Likes Received:
    107
    Medals:
    Skellett has removed MySQL from the addon completely, probably with reason. You should use another SQL addon instead (SkQuery, skript-db, etc)
     
    • Like Like x 1
  9. Mr_Equalizer

    Mr_Equalizer New Member

    Joined:
    Oct 15, 2019
    Messages:
    5
    Likes Received:
    0
    It works now Thanks!
     
    • Friendly Friendly x 1
Thread Status:
Not open for further replies.

Share This Page

Loading...