Arcturus Emulator | Access denied

Results 1 to 4 of 4
  1. #1
    Apprentice ZonaticDEV is offline
    MemberRank
    Jul 2014 Join Date
    16Posts

    angry Arcturus Emulator | Access denied

    Ive configurated everything. Correct db name pass port host etc. but why is the access denied?

    Spoiler:
    Code:
    C:\Users\Administrator\Desktop\ArcturusEmulator_1.6.0>java -jar Habbo-1.6.0-jar-
    with-dependencies.jar
    
    _                          ______                 _       _
                _
         /\            | |                        |  ____|               | |     | |
               | |
        /  \   _ __ ___| |_ _   _ _ __ _   _ ___  | |__   _ __ ___  _   _| | __ _| |
    _ ___  _ __| |
       / /\ \ | '__/ __| __| | | | '__| | | / __| |  __| | '_ ` _ \| | | | |/ _` | _
    _/ _ \| '__| |
      / ____ \| | | (__| |_| |_| | |  | |_| \__ \ | |____| | | | | | |_| | | (_| | |
    | (_) | |  |_|
     /_/    \_\_|  \___|\__|\__,_|_|   \__,_|___/ |______|_| |_| |_|\__,_|_|\__,_|\_
    _\___/|_|  (_)
    
    
    
    
    [←[1m←[32mLOADING←[0m] Configuration Manager -> Loaded!
    [main] INFO com.zaxxer.hikari.HikariDataSource - HikariPool-1 - Starting...
    [main] ERROR com.zaxxer.hikari.pool.HikariPool - HikariPool-1 - Exception during
     pool initialization.
    java.sql.SQLException: Access denied for user 'root'@'localhost' (using password
    : YES)
            at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1094)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4208)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4140)
            at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:925)
            at com.mysql.jdbc.MysqlIO.proceedHandshakeWithPluggableAuthentication(My
    sqlIO.java:1747)
            at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1287)
            at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2494)
            at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
    527)
            at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2309)
            at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:834)
            at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:46)
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at com.mysql.jdbc.Util.handleNewInstance(Util.java:408)
            at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:419)
            at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
    :344)
            at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSourc
    e.java:95)
            at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:346)
            at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:196)
            at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:442
    )
            at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:505)
            at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:113)
            at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:72)
            at com.eu.habbo.database.DatabasePool.getStoragePooling(DatabasePool.jav
    a:49)
            at com.eu.habbo.database.Database.<init>(Database.java:28)
            at com.eu.habbo.Emulator.main(Emulator.java:130)
    [←[1m←[32mSHUTDOWN←[0m] Stopping Arcturus Emulator Version: 1.6.0...
    Exception in thread "Thread-0" java.lang.NullPointerException
            at com.eu.habbo.core.Logging.saveLogs(Logging.java:302)
            at com.eu.habbo.Emulator.dispose(Emulator.java:227)
            at com.eu.habbo.Emulator.access$000(Emulator.java:30)
            at com.eu.habbo.Emulator$1.run(Emulator.java:98)
            at java.lang.Thread.run(Unknown Source)
    
    C:\Users\Administrator\Desktop\ArcturusEmulator_1.6.0>pause
    Drücken Sie eine beliebige Taste . . .


    - - - Updated - - -

    After searching for a while I solved the problem by myself.
    If anyone else have the "access denied"-problem on Arcturus run this query in your db:

    GRANT ALL PRIVILEGES ON *.* TO 'root'@'localhost' IDENTIFIED BY '%password%' WITH GRANT OPTION;

    (change %password% to yours)
    Last edited by Taiga; 15-05-17 at 06:29 PM.


  2. #2
    Account Upgraded | Title Enabled! streamhotel is offline
    MemberRank
    Apr 2012 Join Date
    EarthLocation
    511Posts

    Re: Arcturus Emulator | Access denied

    Oh that's really weird. I thought the root user have all privileges by default but okay. Nice to hear you've solved by yourself. That's also the best way to learn!

  3. #3
    Check http://arcturus.pw The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,610Posts

    Re: Arcturus Emulator | Access denied

    This is NOT a problem from Arcturus. When installing mysql you have the option to enable access outside of localhost to root and this defaults to false. This is to prevent bruteforcing attempts on a default admin account. Chances are you are connecting to your mysql server using your VPS IP instead of 127.0.0.1 (assuming you are running MySQL on the same VPS as Arcturus.)

  4. #4
    Novice HotJord is offline
    MemberRank
    May 2017 Join Date
    Queensland, AULocation
    4Posts

    Re: Arcturus Emulator | Access denied

    I had this problem, try using 127.0.0.1 as the database. I used my database IP and it was doing this error for me.

    Note: the connection ip will be the ip you wish to use for the emulator obviously

    Hope this helps you!



Advertisement