• 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!

0.3.4pl2 - Problem z MySQL - Linux!

EmmaA

JigglyPuff
Joined
Aug 11, 2008
Messages
462
Reaction score
0
Location
Kraków, Poland
Cześć,
Na serwerze dedykowanym mam Debiana 5.0 Lenny. Silnik ładnie skompilowany pod linux'a.
Jednak gdy odpalam, to mi się pokazuje:
Code:
sqlite3_step(): SQLITE ERROR: unable to open database file
sqlite3_step(): SQLITE ERROR: unable to open database file

Code:
sqlite3_step(): SQLITE ERROR: unable to open database file
> ERROR: Failed to save account: 1!
sqlite3_step(): SQLITE ERROR: unable to open database file
OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: z_ots_comunication (SELECT * FROM z_ots_comunication WHERE "type" = 'login';)

Mój config jest ustawiony tak:
Code:
sqlType = "mysql"
	sqlHost = "localhost"
	sqlPort = 3306
	sqlUser = "xxx"
	sqlPass = "xxx"
	sqlDatabase = "xxx"
	sqlFile = "forgottenserver.s3db"
	sqlKeepAlive = 0
	mysqlReadTimeout = 10
	mysqlWriteTImeout = 10
	passwordType = "md5"
Dlatego nie wiem, why mi wywala błędy od SQLite, jak jest ustawione MySQL.
Czekam na waszą pomoc. Pozdro.
 
yyy jechałeś chyba z README ;-)
Compiling
Launch a terminal, and type this:
cd 0.3.4 && ./autogen.sh && ./configure --enable-sqlite --enable-server-diag && make
Nie włączyłeś obsługi mysql...

Skompiluj bez użycia sqlite po co on w binarce jak go nie uzywasz :)
Code:
./configure --enable-mysql && make -j5
 
Last edited:
Back
Top