Szerző Téma: MySQL hiba!  (Megtekintve 1920 alkalommal)

Nem elérhető Buttings

  • 575
  • Lord of the Seven Kingdoms
    • Profil megtekintése
MySQL hiba!
« Dátum: 2013. Október 29. - 10:15:30 »
0
Sziasztok!
Amióta ujra lett telepítve a gépem azóta a szerver nem hajlandó elindulni.
Amint elíndítom rögtön le is áll.
A hibaüzenet:
 
SA-MP Dedicated Server
----------------------
v0.3x-R2, (C)2005-2013 SA-MP Team
[10:09:56] filterscripts = \"\"  (string)
[10:09:56]
[10:09:56] Server Plugins
[10:09:56] --------------
[10:09:56]  Loading plugin: nativechecker
[10:09:56]   Loaded.
[10:09:56]  Loading plugin: mysql
[10:09:56]
 > MySQL plugin R5 successfully loaded.
[10:09:56]   Loaded.
[10:09:56]  Loaded 2 plugins.
[10:09:56]
[10:09:56] Filterscripts
[10:09:56] ---------------
[10:09:56]   Loaded 0 filterscripts.
[10:09:56]    Error: Function not registered: \'mysql_connect\'
[10:09:56]    Error: Function not registered: \'mysql_ping\'
[10:09:56]    Error: Function not registered: \'mysql_debug\'
[10:09:56]    Error: Function not registered: \'mysql_set_charset\'
[10:09:56]    Error: Function not registered: \'mysql_query\'
[10:09:56]    Error: Function not registered: \'mysql_store_result\'
[10:09:56]    Error: Function not registered: \'mysql_num_rows\'
[10:09:56]    Error: Function not registered: \'mysql_free_result\'
[10:09:56]    Error: Function not registered: \'mysql_retrieve_row\'
[10:09:56]    Error: Function not registered: \'mysql_fetch_field_row\'
[10:09:56]    Error: Function not registered: \'mysql_fetch_row_format\'

 
Mindent kipróbáltam már.  :shurg: :wall:

MySQL hiba!
« Válasz #1 Dátum: 2013. Október 29. - 10:19:58 »
0
A server.cfg fájlban cseréld fel a kettõ plugin nevét:
 
plugins nativechecker mysql[/quote]
helyett:
 
plugins mysql nativechecker[/quote]

Nem elérhető Buttings

  • 575
  • Lord of the Seven Kingdoms
    • Profil megtekintése
MySQL hiba!
« Válasz #2 Dátum: 2013. Október 29. - 10:21:23 »
0
Nem jó.  :(
A hibaüzenet amúgy eltünt de a szerver indítás után rögtön leáll!
 
SA-MP Dedicated Server
----------------------
v0.3x-R2, (C)2005-2013 SA-MP Team
[10:21:11] filterscripts = \"\"  (string)
[10:21:11]
[10:21:11] Server Plugins
[10:21:11] --------------
[10:21:11]  Loading plugin: mysql
[10:21:11]
  > MySQL plugin R5 successfully loaded.
[10:21:11]   Loaded.
[10:21:11]  Loading plugin: nativechecker
[10:21:11]   Loaded.
[10:21:11]  Loaded 2 plugins.
[10:21:11]
[10:21:11] Filterscripts
[10:21:11] ---------------
[10:21:11]   Loaded 0 filterscripts.
« Utoljára szerkesztve: 2013. Október 29. - 10:24:16 írta Seassth.0r »

MySQL hiba!
« Válasz #3 Dátum: 2013. Október 29. - 10:29:19 »
0
Túl kevés az információ ahhoz hogy hasznos segítséget kapj.
Mi a server.cfg tartalma, a használt mód neve, több plugin esetleg?
Sõt az is elõfordulhat hogy a mysql plugin R5 változata nem kompatibilis a sa-mp 0.3x R2 verziójával mivel a mysql plugin már R34 kiadásnál tart.

MySQL hiba!
« Válasz #4 Dátum: 2013. Október 29. - 10:31:14 »
0

Sõt az is elõfordulhat hogy a mysql plugin R5 változata nem kompatibilis a sa-mp 0.3x R2 verziójával mivel a mysql plugin már R34 kiadásnál tart.
 
[/quote]
Nekem mûködik 0.3x R2-vel, szóval nem hinném, hogy az lenne a gond.

MySQL hiba!
« Válasz #5 Dátum: 2013. Október 29. - 10:32:58 »
0

 

Sõt az is elõfordulhat hogy a mysql plugin R5 változata nem kompatibilis a sa-mp 0.3x R2 verziójával mivel a mysql plugin már R34 kiadásnál tart.
 
[/quote]
Nekem mûködik 0.3x R2-vel, szóval nem hinném, hogy az lenne a gond.
 
[/quote]
Akkor marad az, hogy túl kevés az információ a hiba megállapításához. :D

Nem elérhető Buttings

  • 575
  • Lord of the Seven Kingdoms
    • Profil megtekintése
MySQL hiba!
« Válasz #6 Dátum: 2013. Október 29. - 10:33:26 »
0
Igen a multkor is mûködött. Amióta ujra lett téve a gépem azóta nem hajlandó elindulni.
server.cfg tartalma:
 
echo Executing Server Config...
lanmode 0
rcon_password rcon12
maxplayers 50
port 7777
hostname SA-MP 0.3 Server
gamemode0 new2
filterscripts
announce 0
query 1
chatlogging 0
plugins mysql nativechecker
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]

MySQL hiba!
« Válasz #7 Dátum: 2013. Október 29. - 10:40:10 »
0
Szerintem más plugint használsz, mint amit kéne.
Próbáld meg ezzel: http://www.solidfiles.com/d/4777f7da84/

Nem elérhető Buttings

  • 575
  • Lord of the Seven Kingdoms
    • Profil megtekintése
MySQL hiba!
« Válasz #8 Dátum: 2013. Október 29. - 10:41:49 »
0
Ez linuxra van....

MySQL hiba!
« Válasz #9 Dátum: 2013. Október 29. - 10:44:50 »
0
.dll hiány lehet ami miatt nem hajlandó elindulni.
Próbáld a crashdetect plugint is alkalmazni hátha kiírna valamit.
https://github.com/Zeex/samp-plugin-crashdetect/releases
Ezt a plugint is oda másoltad a samp_server.exe mellé?
files.g-stylezzz.com/libmySQL.dll

MySQL hiba!
« Válasz #10 Dátum: 2013. Október 29. - 10:47:58 »
+1

Ez linuxra van....
 
[/quote]
 :facepalm:
Hopp, bocs nem figyeltem. De most nézem, hogy a plugin betöltõdik, tehát nem is avval van a gond.

Nem elérhető Buttings

  • 575
  • Lord of the Seven Kingdoms
    • Profil megtekintése
MySQL hiba!
« Válasz #11 Dátum: 2013. Október 29. - 10:51:10 »
0
Lefuttattam.
Amúgy igen a libmysql bevan másolva.
 
SA-MP Dedicated Server
----------------------
v0.3x-R2, (C)2005-2013 SA-MP Team
[10:49:54] filterscripts = \"\"  (string)
[10:49:54]
[10:49:54] Server Plugins
[10:49:54] --------------
[10:49:54]  Loading plugin: mysql
[10:49:54]
 > MySQL plugin R5 successfully loaded.
[10:49:54]   Loaded.
[10:49:54]  Loading plugin: nativechecker
[10:49:54]   Loaded.
[10:49:54]  Loading plugin: crashdetect
[10:49:54]   CrashDetect v4.12 is OK.
[10:49:54]   Loaded.
[10:49:54]  Loaded 3 plugins.
[10:49:54]
[10:49:54] Filterscripts
[10:49:54] ---------------
[10:49:54]   Loaded 0 filterscripts.
[10:49:54] [debug] Server crashed while executing new2.amx
[10:49:54] [debug] AMX backtrace:
[10:49:54] [debug] #0 native fclose () [004056c0] from samp-server.exe
[10:49:54] [debug] #1 0000141c in ?? (0x0005cdec) from new2.amx
[10:49:54] [debug] #2 00007a18 in ?? () from new2.amx
[10:49:54] [debug] #3 00002238 in public zcmd_OnGameModeInit () from new2.amx
[10:49:54] [debug] #4 native CallLocalFunction () [00471ef0] from samp-server.exe
[10:49:54] [debug] #5 0000048c in public OnGameModeInit () from new2.amx
[10:49:55] [debug] Native backtrace:
[10:49:55] [debug] #0 0049316b in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\samp-server.exe
[10:49:55] [debug] #1 004056cd in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\samp-server.exe
[10:49:55] [debug] #2 71445f2a in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\plugins\\crashdetect.DLL
[10:49:55] [debug] #3 7144822e in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\plugins\\crashdetect.DLL
[10:49:55] [debug] #4 7143ff6f in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\plugins\\crashdetect.DLL
[10:49:55] [debug] #5 71445f7a in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\plugins\\crashdetect.DLL
[10:49:55] [debug] #6 004721fe in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\samp-server.exe
[10:49:55] [debug] #7 004010b6 in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\samp-server.exe
[10:49:55] [debug] #8 71445f2a in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\plugins\\crashdetect.DLL
[10:49:55] [debug] #9 7144822e in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\plugins\\crashdetect.DLL
[10:49:55] [debug] #10 7143ff6f in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\plugins\\crashdetect.DLL
[10:49:55] [debug] #11 71445f7a in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\plugins\\crashdetect.DLL
[10:49:55] [debug] #12 0046e1f4 in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\samp-server.exe
[10:49:55] [debug] #13 65646f6d in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\samp-server.exe
[10:49:55] [debug] #14 656e2f73 in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\samp-server.exe
[10:49:55] [debug] #15 612e3277 in ?? () from C:\\Users\\HunTeR\\Desktop\\SAMP\\samp-server.exe

MySQL hiba!
« Válasz #12 Dátum: 2013. Október 29. - 10:57:35 »
+1
A while és az fclose funkció miatt omlik össze, pontosabb adatot akkor adna ha a módot -d3 beállítással fordíttatod át.
http://forum.sa-mp.com/showpost.php?p=1253632&postcount=7
A scriptfiles mappába is oda másoltad azokat a mappákat amelyek a módodban megírásra kerültek?
« Utoljára szerkesztve: 2013. Október 29. - 10:59:24 írta ɐʞzssǝlosz »

Nem elérhető Buttings

  • 575
  • Lord of the Seven Kingdoms
    • Profil megtekintése
MySQL hiba!
« Válasz #13 Dátum: 2013. Október 29. - 11:01:58 »
0
Úúúúúúúúúristen ez telljesen kiment a fejembõl hogy egy mappát létre kell hozni.  :wall:
Nagyon szépen köszönöm a sok fáradalmat.
Mûködik. Zárom.

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal