Вчера работал, сегодня нет. Вот лог: Starting Aion Lightning Login Server. JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51\bin 12:57:26.902 INFO [main]: - Using default implementation for ThreadExecutor 12:57:26.921 INFO [main]: - Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl 12:57:26.923 INFO [main]: - Quartz Scheduler v.2.1.7 created. 12:57:26.923 INFO [main]: - RAMJobStore initialized. 12:57:26.924 INFO [main]: - Scheduler meta-data: Quartz Scheduler (v2.1.7) 'QuartzScheduler' with instanceId 'NON_CLUSTERED' Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally. NOT STARTED. Currently in standby mode. Number of jobs executed: 0 Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 1 threads. Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered. 12:57:26.925 INFO [main]: - Quartz scheduler 'QuartzScheduler' initialized from an externally provided properties instance. 12:57:26.925 INFO [main]: - Quartz scheduler version: 2.1.7 12:57:26.926 INFO [main]: - Scheduler QuartzScheduler_$_NON_CLUSTERED started. 12:57:26.926 INFO [main]: - 2016-12-20 12-57-26 12:57:26.926 INFO [main]: - Loading: myls.properties 12:57:26.927 INFO [main]: - No override properties found 12:57:26.940 INFO [main]: - Loading: ./config/network/network.properties 12:57:26.964 INFO [main]: - Loading: ./config/network/svstats.properties 12:57:26.965 INFO [main]: - Loading: ./config/network/commons.properties 12:57:26.966 INFO [main]: - Loading: ./config/network/database.properties Exception in thread "main" java.lang.Error: DatabaseFactory not initialized! at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.java:107) at com.aionemu.loginserver.LoginServer.main(LoginServer.java:121) Caused by: java.sql.SQLException: Unable to open a test connection to the given database. JDBC url = jdbc:mysql://192.168.0.104:3306/al_server_ls?useUnicode=true&characterEncoding=UTF-8, username = root. Terminating connection pool. Original Exception: ------ java.sql.SQLException: null, message from server: "Host 'DESKTOP-2P9B108' is not allowed to connect to this MySQL server" at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1128) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:215) at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.java:104) at com.aionemu.loginserver.LoginServer.main(LoginServer.java:121) ------ at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:312) at com.aionemu.commons.database.DatabaseFactory.init(DatabaseFactory.java:104) ... 1 more Caused by: java.sql.SQLException: null, message from server: "Host 'DESKTOP-2P9B108' is not allowed to connect to this MySQL server" at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982) at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1128) at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336) at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2369) at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2153) at com.mysql.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:792) at com.mysql.jdbc.JDBC4Connection.<init>(JDBC4Connection.java:47) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.mysql.jdbc.Util.handleNewInstance(Util.java:411) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:305) at java.sql.DriverManager.getConnection(DriverManager.java:571) at java.sql.DriverManager.getConnection(DriverManager.java:215) at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:256) at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:305) ... 2 more [свернуть]
Думал что решил ,а нет. Что-то с привилегиями нужно сделать. Еще не разобрался где их выставлять. Основная причина ведь: Original Exception: ------ java.sql.SQLException: null, message from server: "Host 'DESKTOP-2P9B108' is not allowed to connect to this MySQL server" at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1073)
Если везде поставить 127.0.0.1 , то все загружается норм (лс,гс,аионбат) и доходит до выбора сервера и там что-то пишет.
Нашел. Ошибка была в том что я в папке "AL-Login\config\network" в файле конфига "database.properties", вместо "localhost" указал айпи.