Olá amigos do Power Pixel, estou com um problema. Me ajudem?
O meu problema é o seguinte:
Tudo funciona quando eu ligo o .bat, mas aparece o erro ao se conectar com o MYSQL.
Último log gerado:
[2016-04-17 21:14:52,894][main] INFO com.cometproject.server.boot.Comet - Comet Server - 1.3.1-ALPHA2
[2016-04-17 21:14:52,899][main] INFO com.cometproject.server.boot.Comet - /$$$$$$ /$$
[2016-04-17 21:14:52,900][main] INFO com.cometproject.server.boot.Comet - /$$__ $$ | $$
[2016-04-17 21:14:52,902][main] INFO com.cometproject.server.boot.Comet - | $$ \__/ /$$$$$$ /$$$$$$/$$$$ /$$$$$$ /$$$$$$
[2016-04-17 21:14:52,904][main] INFO com.cometproject.server.boot.Comet - | $$ /$$__ $$| $$_ $$_ $$ /$$__ $$|_ $$_/
[2016-04-17 21:14:52,954][main] INFO com.cometproject.server.boot.Comet - | $$ | $$ \ $$| $$ \ $$ \ $$| $$$$$$$$ | $$
[2016-04-17 21:14:52,957][main] INFO com.cometproject.server.boot.Comet - | $$ $$| $$ | $$| $$ | $$ | $$| $$_____/ | $$ /$$
[2016-04-17 21:14:52,962][main] INFO com.cometproject.server.boot.Comet - | $$$$$$/| $$$$$$/| $$ | $$ | $$| $$$$$$$ | $$$/
[2016-04-17 21:14:52,967][main] INFO com.cometproject.server.boot.Comet - \______/ \______/ |__/ |__/ |__/ \_______/ \___/
[2016-04-17 21:14:52,974][main] DEBUG com.cometproject.server.boot.Comet - No config args found, falling back to default configuration!
[2016-04-17 21:14:53,026][main] WARN com.cometproject.server.api.APIManager - API configuration property not available: comet.api.enabled, API is disabled
[2016-04-17 21:14:54,180][main] INFO com.cometproject.server.storage.StorageManager - Connecting to the MySQL server
[2016-04-17 21:14:58,923][main] ERROR com.cometproject.server.storage.StorageManager - Failed to connect to MySQL server
com.zaxxer.hikari.pool.PoolInitializationException: Exception during pool initialization
at com.zaxxer.hikari.pool.BaseHikariPool.initializeConnections(BaseHikariPool.java:542)
at com.zaxxer.hikari.pool.BaseHikariPool.<init>(BaseHikariPool.java:171)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:60)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:48)
at com.zaxxer.hikari.HikariDataSource.<init>(HikariDataSource.java:80)
at com.cometproject.server.storage.StorageManager.initialize(StorageManager.java:47)
at com.cometproject.server.boot.CometServer.init(CometServer.java:66)
at com.cometproject.server.boot.Comet.run(Comet.java:110)
at com.boot.Main.main(Main.java:14)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
at com.mysql.jdbc.Util.getInstance(Util.java:360)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:956)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:935)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:924)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:870)
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2144)
at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2069)
at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:790)
at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:44)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.jdbc.Util.handleNewInstance(Util.java:377)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:395)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:325)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:92)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:98)
at com.zaxxer.hikari.pool.BaseHikariPool.addConnection(BaseHikariPool.java:438)
at com.zaxxer.hikari.pool.BaseHikariPool.initializeConnections(BaseHikariPool.java:540)
... 8 more
Caused by: java.sql.SQLException: Access denied for user 'root'@'localhost' (using password: YES)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:996)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3887)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3823)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:870)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4332)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1258)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2234)
at com.mysql.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:2085)
... 22 more
Será que é fácil resolver este erro?
Veja minhas configurações, poderá ajudar!
Meu emulador é o Comet Emulador (Compilado)
Minha CMS é a ---
Meu hotel está no Apple Web Server
Como sei que uma imagem vale mais que mil palavras, olhe o print: ----
Desde já obrigado. Aguardarei respostas!