Перейти к содержанию
Авторизация  
MeteorlAl

Проблема С Server Terminated

Рекомендуемые сообщения

Погуглил, пишут что нужно поменять значения для ОП, но ничего не выходит. Помогите! :girl_devil:

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
Скрытый текст
Starting Game Server.

12.04.2012 19:52:31 net.sf.l2j.Config load
INFO: #Configs: loaded.
12.04.2012 19:52:31 net.sf.l2j.gameserver.GameServer main
INFO: #Welcome to pwServer.
Exception in thread "main" java.sql.SQLException: Unable to open a test connecti
on to the given database. JDBC url = jdbc:mysql://localhost/shara?useUnicode=tru
e&characterEncoding=UTF-8, username = root. Terminating connection pool. Origina
l Exception: ------
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'sha
ra'
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:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
369)
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(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:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:305)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:295)

at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:333)
at com.jolbox.bonecp.BoneCPDataSource.maybeInit(BoneCPDataSource.java:15
0)
at com.jolbox.bonecp.BoneCPDataSource.getConnection(BoneCPDataSource.jav
a:112)
at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:64)
at net.sf.l2j.L2DatabaseFactory.init(L2DatabaseFactory.java:122)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:565)
------

at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:340)
at com.jolbox.bonecp.BoneCPDataSource.maybeInit(BoneCPDataSource.java:15
0)
at com.jolbox.bonecp.BoneCPDataSource.getConnection(BoneCPDataSource.jav
a:112)
at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:64)
at net.sf.l2j.L2DatabaseFactory.init(L2DatabaseFactory.java:122)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:565)
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown da
tabase 'shara'
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:411)
at com.mysql.jdbc.Util.getInstance(Util.java:386)
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1052)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3609)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3541)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:943)
at com.mysql.jdbc.MysqlIO.secureAuth411(MysqlIO.java:4113)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1308)
at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2336)
at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2
369)
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(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:411)
at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:381)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:305)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.jolbox.bonecp.BoneCP.obtainRawInternalConnection(BoneCP.java:295)

at com.jolbox.bonecp.BoneCP.<init>(BoneCP.java:333)
... 5 more

Server terminated abnormaly


server terminated

Для продолжения нажмите любую клавишу . . .

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты

отсуствует база данных "'shara" измени в конфигах на свою базу в которую устанавливал сервер.

Изменено пользователем hit

Поделиться сообщением


Ссылка на сообщение
Поделиться на другие сайты
Авторизация  

  • Последние посетители   0 пользователей онлайн

    Ни одного зарегистрированного пользователя не просматривает данную страницу

×
×
  • Создать...