SQL Driver Message at Boot

Discussion in 'CommandHelper' started by MrSnowGlobe, Apr 6, 2018.

  1. MrSnowGlobe

    MrSnowGlobe New Member


    When booting my server, I get the following message:
    Code (Text):
    Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual
    This message hangs my server for 59 seconds before it continues to boot.

    I did notice Commandhelper uses the deprecated class.
    Is there a way to stop that message from showing / stopping the delay it causes?

  2. PseudoKnight

    PseudoKnight Well-Known Member Developer

    Thanks for pointing this out. I'm not sure why this is the first time someone's mentioned it since LC updated the dependencies last month. I'll get a fix out soon here.
  3. MrSnowGlobe

    MrSnowGlobe New Member

    Many Thanks!
  4. PseudoKnight

    PseudoKnight Well-Known Member Developer

    I don't know why it was freezing for you, but I did fix that deprecation error. There might also be some namespace conflicts, depending on what's loaded on your server, but that can also be fixed.