1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Solved libasynql ACCESS DENIED

Discussion in 'Plugin Help' started by ShushImSam, Aug 20, 2019.

  1. ShushImSam

    ShushImSam Spider Jockey

    Messages:
    37
    Alright so.. I'm using Hierarchy(https://github.com/CortexPE/Hierarchy) which uses libasynql (https://github.com/poggit/libasynql) And everytime I try to connect I get an error, although the username, password and everything Is perfectly fine, This problem I believe is that libasynql tries to connect with 'root'@'myipaddress' when my host(TitanNodes) allows me to use only one user. Is there any way I could fix that?

    user: username@localhost
     
  2. ShushImSam

    ShushImSam Spider Jockey

    Messages:
    37
  3. ShushImSam

    ShushImSam Spider Jockey

    Messages:
    37
    Okay so I was a little too fast(again) on making this thread, but it could be useful for any future issues. If you have problems because the user is not the default one for you and you're using MySQL, edit MysqlCredentials.php "root" to your username and "host" to your host, everything should work fine from there
     
  4. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    Wtf
    Apparently your settings didn't get loaded correctly.
    Libasynql defaults never override your values.
     
    HimbeersaftLP likes this.
  5. HimbeersaftLP

    HimbeersaftLP Fish

    Messages:
    2,402
    GitHub:
    HimbeersaftLP
    ShushImSam likes this.
  6. ShushImSam

    ShushImSam Spider Jockey

    Messages:
    37
    Also, Where should I ping the connection so it stays alive?
     
  7. ShushImSam

    ShushImSam Spider Jockey

    Messages:
    37
    HimbeersaftLP likes this.
  8. SOFe

    SOFe Administrator Staff Member PMMP Team Poggit Admin

    Messages:
    1,968
    GitHub:
    sof3
    You never need to modify libasynql source code. It's just a bug in Hierarchy.
     
    ShushImSam likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.