MySQL problem...

Wichtiger Hinweis: Bitte ändert nicht manuell die Schriftfarbe auf schwarz sondern belasst es bei der Standardeinstellung. Somit tragt ihr dazu bei dass euer Text auch bei Verwendung unseren dunklen Forenstils noch lesbar ist!

Tipp: Ihr wollt längere Codeausschnitte oder Logfiles bereitstellen? Benutzt unseren eigenen PasteBin-Dienst Link
  • Wenn ich complire kommen diese Error's :X


    C:\Users\Resan\Desktop\dd\gamemodes\DRP.pwn(5896) : error 017: undefined symbol "mysql_query"
    C:\Users\Resan\Desktop\dd\gamemodes\DRP.pwn(5986) : error 017: undefined symbol "mysql_query"
    C:\Users\Resan\Desktop\dd\gamemodes\DRP.pwn(6227) : error 017: undefined symbol "mysql_query"
    C:\Users\Resan\Desktop\dd\gamemodes\DRP.pwn(6312) : error 017: undefined symbol "mysql_query"
    C:\Users\Resan\Desktop\dd\gamemodes\DRP.pwn(57650) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
    C:\Users\Resan\Desktop\dd\gamemodes\DRP.pwn(57741) : warning 224: indeterminate array size in "sizeof" expression (symbol "max_len")
    C:\Users\Resan\Desktop\dd\gamemodes\DRP.pwn(57904) : warning 203: symbol is never used: "strtock"
    Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase



    4 Errors.

  • >klick mich< <-- das da :)

    "Imagine if the government went after corruption as hard as it goes after guys who run filesharing sites. Priorities. " - @Snowden
    "More worrying than FBI temporarily running a server that contained child porn, is hacking computers anywhere in the world with one warrant" - @josephfcox

  • Also was dir fehlt ist einfach die libmysql für Linux...


    Die r16 libmysql ist ultra schwer zu finden... Ich hatte sie mir irgendwo gebackuppt.


    Schau mal nach einer Stable Version des Plugins
    Dieses liefert dann diese lib mit.
    Hatte lange genug damit Probleme.


    Nimm das Plugin, dass du auch anfangst genutzt hast.
    Ich hoffe du hast das Include noch. Wenn nicht mehr .. doof
    Wenn ja: Die Version steht in dem include


    Grüße

    ik bin der vito c:

  • @dark.shadow: oder er nimmt das r5 was ich ihm gegeben hab und er hat die mysql_query probleme nicht :)

    "Imagine if the government went after corruption as hard as it goes after guys who run filesharing sites. Priorities. " - @Snowden
    "More worrying than FBI temporarily running a server that contained child porn, is hacking computers anywhere in the world with one warrant" - @josephfcox

    Einmal editiert, zuletzt von Loganpunkt ()

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Also habe jetzt mal das von Zieglein ausprobiert, die Errors gingen weg, aber trozdem startet der server nicht


    @Dark.Shadow: Ja habe ich.. funktioniert leider nicht.


    Wäre besser wenn ihr mir per Teamviewer helfen würdet

  • @Nova_:
    Nichts gegen dich aber wenn wir das hier klären, hilft es wohl etwa 100 Usern mehr.


    Schreib uns doch mal was in dem Include steht vom alten MySQL Plugin
    Dort wo dir der libmysqlclient_r_16.so gefehlt hat.

    ik bin der vito c:

  • ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3z-R2, (C)2005-2014 SA-MP Team


    [11:25:59]
    [11:25:59] Server Plugins
    [11:25:59] --------------
    [11:25:59] Loading plugin: streamer.so
    [11:25:59]


    *** Streamer Plugin v2.6 by Incognito loaded ***


    [11:25:59] Loaded.
    [11:25:59] Loading plugin: sscanf.so
    [11:25:59]


    [11:25:59] ===============================


    [11:25:59] sscanf plugin loaded.


    [11:25:59] (c) 2009 Alex "Y_Less" Cole


    [11:25:59] 0.3d-R2 500 Players "dnee"


    [11:25:59] ===============================


    [11:25:59] Loaded.
    [11:25:59] Loading plugin: mysql.so
    [11:25:59] Failed (libssl.so.0.9.8: wrong ELF class: ELFCLASS64)
    [11:25:59] Loading plugin: crashdetect.so
    [11:25:59] crashdetect v4.5.1 is OK.
    [11:25:59] Loaded.
    [11:25:59] Loaded 3 plugins.


    [11:25:59]
    [11:25:59] Filterscripts
    [11:25:59] ---------------
    [11:25:59] Loading filterscript 'haus.amx'...
    [11:25:59] Loading filterscript 'objekt.amx'...
    [11:25:59]
    --------------------------------------
    [11:25:59] Blank Filterscript by your name here
    [11:25:59] --------------------------------------


    [11:25:59] Loaded 2 filterscripts.


    [11:25:59] [debug] Run time error 19: "File or function is not found"
    [11:25:59] [debug] The following natives are not registered:
    [11:25:59] [debug] mysql_query
    [11:25:59] [debug] mysql_store_result
    [11:25:59] [debug] mysql_retrieve_row
    [11:25:59] [debug] mysql_free_result
    [11:25:59] [debug] mysql_fetch_field_row
    [11:25:59] [debug] mysql_debug
    [11:25:59] [debug] mysql_real_escape_string
    [11:25:59] [debug] mysql_fetch_row_format
    [11:25:59] [debug] mysql_connect
    [11:25:59] [debug] mysql_ping
    [11:25:59] [debug] Run time error 19: "File or function is not found"
    [11:25:59] [debug] The following natives are not registered:
    [11:25:59] [debug] mysql_query
    [11:25:59] [debug] mysql_store_result
    [11:25:59] [debug] mysql_retrieve_row
    [11:25:59] [debug] mysql_free_result
    [11:25:59] [debug] mysql_fetch_field_row
    [11:25:59] [debug] mysql_debug
    [11:25:59] [debug] mysql_real_escape_string
    [11:25:59] [debug] mysql_fetch_row_format
    [11:25:59] [debug] mysql_connect
    [11:25:59] [debug] mysql_ping
    [11:25:59] Script[gamemodes/DRP.amx]: Run time error 19: "File or function is not found"
    [11:25:59] Number of vehicle models: 0


    ----------
    Loaded log file: "server_log.txt".
    ----------


    SA-MP Dedicated Server
    ----------------------
    v0.3z-R2, (C)2005-2014 SA-MP Team


    [11:30:18]
    [11:30:18] Server Plugins
    [11:30:18] --------------
    [11:30:18] Loading plugin: streamer.so
    [11:30:18]


    *** Streamer Plugin v2.6.1 by Incognito loaded ***


    [11:30:18] Loaded.
    [11:30:18] Loading plugin: sscanf.so
    [11:30:18]


    [11:30:18] ===============================


    [11:30:18] sscanf plugin loaded.


    [11:30:18] (c) 2009 Alex "Y_Less" Cole


    [11:30:18] 0.3d-R2 500 Players "dnee"


    [11:30:18] ===============================


    [11:30:18] Loaded.
    [11:30:18] Loading plugin: mysql.so
    [11:30:18] Failed (libssl.so.0.9.8: wrong ELF class: ELFCLASS64)
    [11:30:18] Loading plugin: crashdetect.so
    [11:30:18] crashdetect v4.5.1 is OK.
    [11:30:18] Loaded.
    [11:30:18] Loaded 3 plugins.


    [11:30:18]
    [11:30:18] Filterscripts
    [11:30:18] ---------------
    [11:30:18] Loading filterscript 'haus.amx'...
    [11:30:18] Loading filterscript 'objekt.amx'...
    [11:30:18]
    --------------------------------------
    [11:30:18] Blank Filterscript by your name here
    [11:30:18] --------------------------------------


    [11:30:18] Loaded 2 filterscripts.


    [11:30:18] [debug] Run time error 19: "File or function is not found"
    [11:30:18] [debug] The following natives are not registered:
    [11:30:18] [debug] mysql_query
    [11:30:18] [debug] mysql_store_result
    [11:30:18] [debug] mysql_retrieve_row
    [11:30:18] [debug] mysql_free_result
    [11:30:18] [debug] mysql_fetch_field_row
    [11:30:18] [debug] mysql_debug
    [11:30:18] [debug] mysql_real_escape_string
    [11:30:18] [debug] mysql_fetch_row_format
    [11:30:18] [debug] mysql_connect
    [11:30:18] [debug] mysql_ping
    [11:30:18] [debug] Run time error 19: "File or function is not found"
    [11:30:18] [debug] The following natives are not registered:
    [11:30:18] [debug] mysql_query
    [11:30:18] [debug] mysql_store_result
    [11:30:18] [debug] mysql_retrieve_row
    [11:30:18] [debug] mysql_free_result
    [11:30:18] [debug] mysql_fetch_field_row
    [11:30:18] [debug] mysql_debug
    [11:30:18] [debug] mysql_real_escape_string
    [11:30:18] [debug] mysql_fetch_row_format
    [11:30:18] [debug] mysql_connect
    [11:30:18] [debug] mysql_ping
    [11:30:18] Script[gamemodes/DRP.amx]: Run time error 19: "File or function is not found"
    [11:30:18] Number of vehicle models: 0

  • Mensch Leute, er verwendet das Falsche Plugin darin liegt das Problem die R8 Version verwendet andere natives als die älteren als R5 oder R6.
    Da jedoch dein Skript nicht auf dem R8 oder höher basiert werden natives aufgerufen, welche nicht existiert somit bekommst du den runtime Error.


    Daher nutz die älteren Versionen R5 oder R6
    Download:
    http://forum.sa-mp.com/showthread.php?t=56564



    //edit


    Dort oben in der Include steht ja auch nochmal für, welches Plugin die Include ist


    Zitat

    SA-MP MySQL plugin R5

  • @Nova_:
    Wenn ich dir schon über Skype helfe dann nimm bitte das von @|Prototype|: und mir an.
    Benutz das R5 Plugin + Die Linux version die du hier finden kannst: klick mich

    "Imagine if the government went after corruption as hard as it goes after guys who run filesharing sites. Priorities. " - @Snowden
    "More worrying than FBI temporarily running a server that contained child porn, is hacking computers anywhere in the world with one warrant" - @josephfcox

  • @Nova_:
    Wenn ich dir schon über Skype helfe dann nimm bitte das von @|Prototype|: und mir an.
    Benutz das R5 Plugin + Die Linux version die du hier finden kannst: klick mich


    Naja er kann auch die R8 Version nutzen nur muss er sein Skript umschreiben.
    Aber da würde ich schon die neuste verwenden falls er es umschreiben möchte die R39 Version.

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen