Я себе всё поставил всё работает ну только как я зделаю перезагрузку компьютера и захожу на свой сайт то он мне пишет :
Warning: mysql_connect() [function.mysql-connect]: Access denied for user: 'root@localhost' (Using password: YES) in W:\www\config\_config_procs.php on line 3
Couldn't connect to MySQL
вот такто :(((
Чё делать подскажыте всё перепробывал!
И от когда запускаю StartGameServer.bat пишет такое: Starting Steam Server.
loading gameserver config
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.0.4 [built 23-January-2006 22:20:29 -0500; debug? true; tr
ace: 10]
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@18f6235 [ con
nectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@12d
3205 [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 50
0, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, break
AfterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName ->
com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null,
forceIgnoreUnresolvedTransactions -> false, identityToken -> 12d3205, idleConne
ctionTestPeriod -> 60, initialPoolSize -> 3, maxIdleTime -> 0, maxPoolSize -> 10
00, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 1, nes
tedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@1edc073 [ descripti
on -> null, driverClass -> null, factoryClassLocation -> null, identityToken ->
1edc073, jdbcUrl -> jdbc:mysql://localhost/l2jdb, properties -> {user=******, pa
ssword=******} ], preferredTestQuery -> null, propertyCycle -> 300, testConnecti
onOnCheckin -> true, testConnectionOnCheckout -> false, usesTraditionalReflectiv
eProxies -> false ], factoryClassLocation -> null, identityToken -> 18f6235, num
HelperThreads -> 3 ]
Exception in thread "main" java.sql.SQLException: Access denied for user: 'root@
localhost' (Using password: YES)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2921)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:770)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1228)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2544)
at com.mysql.jdbc.Connection.<init>(Connection.java:1474)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:264)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag
erDataSource.java:79)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:82)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:497)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:421)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:342)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:360)
at com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedData
Source.java:94)
at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:110)
at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:181)
at net.sf.l2j.gameserver.GameServer.main(GameServer.java:613)
Server terminated abnormaly
server terminated
Для продолжения нажмите любую клавишу . . .
И когда включаю startLoginServer.bat то пишет такое:
Starting Steam Login Server.
loading login config
MLog clients using java 1.4+ standard logging.
Initializing c3p0-0.9.0.4 [built 23-January-2006 22:20:29 -0500; debug? true; tr
ace: 10]
Initializing c3p0 pool... com.mchange.v2.c3p0.PoolBackedDataSource@406199 [ conn
ectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@1808
8c0 [ acquireIncrement -> 5, acquireRetryAttempts -> 0, acquireRetryDelay -> 500
, autoCommitOnClose -> true, automaticTestTable -> connection_test_table, breakA
fterAcquireFailure -> false, checkoutTimeout -> 0, connectionTesterClassName ->
com.mchange.v2.c3p0.impl.DefaultConnectionTester, factoryClassLocation -> null,
forceIgnoreUnresolvedTransactions -> false, identityToken -> 18088c0, idleConnec
tionTestPeriod -> 60, initialPoolSize -> 3, maxIdleTime -> 0, maxPoolSize -> 100
0, maxStatements -> 0, maxStatementsPerConnection -> 100, minPoolSize -> 1, nest
edDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@122cdb6 [ descriptio
n -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 1
22cdb6, jdbcUrl -> jdbc:mysql://localhost/l2jdb, properties -> {user=******, pas
sword=******} ], preferredTestQuery -> null, propertyCycle -> 300, testConnectio
nOnCheckin -> true, testConnectionOnCheckout -> false, usesTraditionalReflective
Proxies -> false ], factoryClassLocation -> null, identityToken -> 406199, numHe
lperThreads -> 3 ]
Exception in thread "main" java.sql.SQLException: Access denied for user: 'root@
localhost' (Using password: YES)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2921)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:770)
at com.mysql.jdbc.MysqlIO.doHandshake(MysqlIO.java:1228)
at com.mysql.jdbc.Connection.createNewIO(Connection.java:2544)
at com.mysql.jdbc.Connection.<init>(Connection.java:1474)
at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java
:264)
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManag
erDataSource.java:79)
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnecti
on(WrapperConnectionPoolDataSource.java:82)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.initializeAu
tomaticTestTable(C3P0PooledConnectionPoolManager.java:497)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.createPooled
ConnectionPool(C3P0PooledConnectionPoolManager.java:421)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:342)
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPoolManager.getPool(C3P0
PooledConnectionPoolManager.java:360)
at com.mchange.v2.c3p0.PoolBackedDataSource.getConnection(PoolBackedData
Source.java:94)
at net.sf.l2j.L2DatabaseFactory.<init>(L2DatabaseFactory.java:110)
at net.sf.l2j.L2DatabaseFactory.getInstance(L2DatabaseFactory.java:181)
at net.sf.l2j.loginserver.LoginServer.main(LoginServer.java:77)
Steam Server terminated abnormaly
Steam server terminated
Для продолжения нажмите любую клавишу . . .
Плиз подскажыте чё делать!