• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Dziwny probem z baza...

Hunteq

Banned User
Joined
Apr 20, 2009
Messages
74
Reaction score
0
Nie działa mi ots i w TFS'ie jest napisane :
Code:
[15/07/2009 11:31:18] > MySQL ERROR mysql_real_connect: Access denied for user 'root'@'localhost' (using password: NO)
[15/07/2009 11:31:18] > ERROR: Failed to connect to database, read doc/MYSQL_HELP for information or try SqLite which doesn't require any connection.

Zrobiłem tak
Importowałem baze danych o nazwie Evera z pliku schema.mysql
Potem zmieniłem config na taki

-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "MOJEHASŁO"
sqlDatabase = "Evera"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 60
mysqlReadTimeout = 10
optimizeDatabaseAtStartup = "yes"
passwordType = "plain"

I odpalilem otsa i ten komunikat wyskoczyl.
Mam router ale odblokowalem port 3306,7171,7172,80 na tcp i udp
 
kurwa... a hasła to nie umiesz wpisać??

sqlPass = "MOJEHASŁO" << tu wpisz hasło od Mysql'a

a jeśli nie chcesz używać pospolitego 'Mysql' to użyj 'Sqlite'

czyli dokładnie tutaj:

z

sqlType = "mysql"


na

sqlType = "sqlite"

To na tyle, resztę powinieneś opanować xP.

Jeśli uważasz że ci pomogłem, daj reputa :)
 
dalem tam moje haslo..
@UP
Czego nie bedziesz komentowal jak wiesz co jest zle to powiedz
 
Back
Top