Asynchronous MySQL Manager Issue

Discussion in 'Spigot Plugin Development' started by Prethmo, Jul 24, 2018.

  1. Hey there,

    I've a little problem regarding my newest project, an asynchronous MySQL-Manager.
    I have been working with MySQL for years and I've never had any problems with it, but my newest issue gets me to the verge of despair. Maybe you are able to solve it :)

    https://pastebin.com/GiDbfk1q //Error

    https://pastebin.com/HYLpXj20 //Open Connection Method

    Thank you a lot!

    Prethmo
     
  2. ScarabCoder

    ScarabCoder Retired Resource Staff
    Retired

    Not really solution, but I'd move over to HikariCP if I were you. It probably would solve this issue, as well. It really should be used for MySQL whenever you're making more than a few requests a minute.
     
  3. Also, why are you throwing exception but also uisng a try-catch? Surround it all in the try-catch.
     
  4. @JustRayz
    Using a premade API is no opportunity for me, sry...
     
  5. That’s ok, if u want u can learn from it, read the source code on github :) it’s opensource