[Ubuntu | 15.10 | 64 bit] Problem mit der libmysqlclient_r.so.16

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
  • Guten Abend
    Ich hab ein Problem mit der "libmysqlclient_r.so.16" und zwar hatte Ich vor mit einigen Kollegen ein Projekt aufzubauen allerdings sagt der VPS nein ... Nun hänge ich den ganzen Vormittag bis jetzt an dieses Problem, da ich schon im Internet versucht habe zu recherchieren, aber ohne Erfolg. Nun seid Ihr gefragt wo das Problem liegen könnte. Wie man schon in der Betreffzeile sehen kann handelt es sich um Ubuntu 15.10 und mit der Architektur 64 bit.


    Serverlog:

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


    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team


    [13:46:23] password = "" (string)
    [13:46:23]
    [13:46:23] Server Plugins
    [13:46:23] --------------
    [13:46:23] Loading plugin: crashdetect.so
    [13:46:23] CrashDetect v4.16 is OK.
    [13:46:23] Loaded.
    [13:46:23] Loading plugin: streamer.so
    [13:46:23]


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


    [13:46:23] Loaded.
    [13:46:23] Loading plugin: mysql.so
    [13:46:23] Failed (libmysqlclient_r.so.16: wrong ELF class: ELFCLASS64)
    [13:46:23] Loaded 2 plugins.


    [13:46:23]
    [13:46:23] Ban list
    [13:46:23] --------
    [13:46:23] Loaded: samp.ban
    [13:46:23]
    [13:46:23]
    [13:46:23] Filterscripts
    [13:46:23] ---------------
    [13:46:23] Loading filterscript 'AdminTool.amx'...
    [13:46:23] [debug] Run time error 19: "File or function is not found"
    [13:46:23] [debug] mysql_query
    [13:46:23] [debug] mysql_store_result
    [13:46:23] [debug] mysql_num_rows
    [13:46:23] [debug] mysql_data_seek
    [13:46:23] [debug] mysql_fetch_string
    [13:46:23] [debug] mysql_fetch_field
    [13:46:23] Loading filterscript 'Anims.amx'...
    [13:46:23]
    --------------------------------------
    [13:46:23] Animationen wurden geladen
    [13:46:23] --------------------------------------


    [13:46:23] Loading filterscript 'AntiAids.amx'...
    [13:46:23]
    -------------------------------------------
    [13:46:23] Das AntiCheat namens AntiAids wurde von
    [13:46:23] AIDS_Qualle geschrieben und veröffentlicht.
    [13:46:23] Es wurde erfolgreich geladen
    [13:46:23] -------------------------------------------


    [13:46:23] Loading filterscript 'blinker.amx'...
    [13:46:23] Loading filterscript 'crasher.amx'...
    [13:46:23] Loading filterscript 'Duell.amx'...
    [13:46:23]
    --------------------------------------
    [13:46:23] Duell System by AIDS_Qualle loaded
    [13:46:23] --------------------------------------


    [13:46:23] Loading filterscript 'Jobs.amx'...
    [13:46:23] Loading filterscript 'Maps.amx'...
    [13:46:23] Loading filterscript 'StreetRace.amx'...
    [13:46:23]
    -----------------------------------------------
    [13:46:23] Streetrace System by AIDS_Qualle loaded
    [13:46:23] Ursprünglich für die GermanNexusElite entwickelt
    [13:46:23] -------------------------------------------------


    [13:46:23] Loaded 9 filterscripts.


    [13:46:23] [debug] Run time error 19: "File or function is not found"
    [13:46:23] [debug] mysql_init
    [13:46:23] [debug] mysql_connect
    [13:46:23] [debug] mysql_query
    [13:46:23] [debug] mysql_store_result
    [13:46:23] [debug] mysql_num_rows
    [13:46:23] [debug] mysql_free_result
    [13:46:23] [debug] mysql_close
    [13:46:23] [debug] mysql_fetch_field
    [13:46:23] [debug] mysql_fetch_string
    [13:46:23] [debug] mysql_data_seek
    [13:46:23] [debug] mysql_real_escape_string
    [13:46:23] [debug] mysql_fetch_row_data
    [13:46:23] [debug] mysql_fetch_int
    [13:46:23] [debug] Run time error 19: "File or function is not found"
    [13:46:23] [debug] mysql_init
    [13:46:23] [debug] mysql_connect
    [13:46:23] [debug] mysql_query
    [13:46:23] [debug] mysql_store_result
    [13:46:23] [debug] mysql_num_rows
    [13:46:23] [debug] mysql_free_result
    [13:46:23] [debug] mysql_close
    [13:46:23] [debug] mysql_fetch_field
    [13:46:23] [debug] mysql_fetch_string
    [13:46:23] [debug] mysql_data_seek
    [13:46:23] [debug] mysql_real_escape_string
    [13:46:23] [debug] mysql_fetch_row_data
    [13:46:23] [debug] mysql_fetch_int
    [13:46:23] Script[gamemodes/Selfmade.amx]: Run time error 19: "File or function is not found"
    [13:46:23] Number of vehicle models: 3
    [13:46:36] --- Server Shutting Down.
    [13:46:36] [debug] Run time error 19: "File or function is not found"
    [13:46:36] [debug] mysql_init
    [13:46:36] [debug] mysql_connect
    [13:46:36] [debug] mysql_query
    [13:46:36] [debug] mysql_store_result
    [13:46:36] [debug] mysql_num_rows
    [13:46:36] [debug] mysql_free_result
    [13:46:36] [debug] mysql_close
    [13:46:36] [debug] mysql_fetch_field
    [13:46:36] [debug] mysql_fetch_string
    [13:46:36] [debug] mysql_data_seek
    [13:46:36] [debug] mysql_real_escape_string
    [13:46:36] [debug] mysql_fetch_row_data
    [13:46:36] [debug] mysql_fetch_int
    [13:46:36] [debug] Run time error 19: "File or function is not found"
    [13:46:36] [debug] mysql_query
    [13:46:36] [debug] mysql_store_result
    [13:46:36] [debug] mysql_num_rows
    [13:46:36] [debug] mysql_data_seek
    [13:46:36] [debug] mysql_fetch_string
    [13:46:36] [debug] mysql_fetch_field
    [13:46:36]


    *** Streamer Plugin v2.7.8 by Incognito unloaded ***


  • Einfach das mysql_static.so Plugin nutzen und nicht mysql.so ......

  • Alles schön und gut, aber jetzt ist der nächste Fehler aufgetaucht und zwar gehts um "libmysqlclient.so.18"


    Log:

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


    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team


    [13:51:32] password = "" (string)
    [13:51:32]
    [13:51:32] Server Plugins
    [13:51:32] --------------
    [13:51:32] Loading plugin: crashdetect.so
    [13:51:32] CrashDetect v4.16 is OK.
    [13:51:32] Loaded.
    [13:51:32] Loading plugin: streamer.so
    [13:51:32]


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


    [13:51:32] Loaded.
    [13:51:32] Loading plugin: mysql_static.so
    [13:51:32] Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
    [13:51:32] Loaded 2 plugins.

    • Offizieller Beitrag

    Versuch es mal mit

    Bash
    sudo apt install libmysqlclient18


    „Nicht das, was du nicht weißt, bringt dich in Schwierigkeiten, sondern dass, was du sicher zu wissen glaubst, obwohl es gar nicht wahr ist.“
    Mark Twain

    ---
    ICH BIN NUR HIER UM LEUTE ANZUSCHREIEN

  • Das kann nicht sein. Sicher das du das richtige static Plugin nutzt? Dort ist nämlich alles dabei und du brauchst nichts zu installieren... bei mir kommt auch der fehler mit limby.18 doch wenn ich die static Version nutze läuft alles weil dort alle fehlenden Sachen dabei sind.

  • hast du in der server.cfg auch mysql_static.so stehen?

  • @Rocky Balboa
    Jetzt funktioniert es Script wird geladen, aber bekomme in der Logs schöne MySQL "Can't connect to Database" Fehler.
    Die Verbindungen wurden richtig angegeben als Anmerkung :).



    [15:53:36] ----------
    [15:53:36] Loaded log file: "server_log.txt".
    [15:53:36] ----------
    [15:53:36]
    [15:53:36] SA-MP Dedicated Server
    [15:53:36] ----------------------
    [15:53:36] v0.3.7-R2, (C)2005-2015 SA-MP Team
    [15:53:36]
    [15:53:36] password = "" (string)
    [15:53:36]
    [15:53:36] Server Plugins
    [15:53:36] --------------
    [15:53:36] Loading plugin: crashdetect.so
    [15:53:36] CrashDetect v4.16 is OK.
    [15:53:36] Loaded.
    [15:53:36] Loading plugin: streamer.so
    [15:53:36]
    [15:53:36]
    [15:53:36] *** Streamer Plugin v2.7.8 by Incognito loaded ***
    [15:53:36]
    [15:53:36] Loaded.
    [15:53:36] Loading plugin: mysql_static.so
    [15:53:36] SA:MP MySQL Plugin v2.1.1 Loaded.
    [15:53:36] Loaded.
    [15:53:36] [MySQL] Thread running. Threadsafe: Yes.
    [15:53:36] Loaded 3 plugins.
    [15:53:36]
    [15:53:36]
    [15:53:36] Ban list
    [15:53:36] --------
    [15:53:36] Loaded: samp.ban
    [15:53:36]
    [15:53:36]
    [15:53:36] Filterscripts
    [15:53:36] ---------------
    [15:53:36] Loading filterscript 'Anims.amx'...
    [15:53:36]
    [15:53:36] --------------------------------------
    [15:53:36] Animationen wurden geladen
    [15:53:36] --------------------------------------
    [15:53:36]
    [15:53:36] Loading filterscript 'blinker.amx'...
    [15:53:36] Loading filterscript 'Jobs.amx'...
    [15:53:36] Loading filterscript 'Maps.amx'...
    [15:53:36] Loading filterscript 'StreetRace.amx'...
    [15:53:36]
    [15:53:36] --------------------------------------------------
    [15:53:36] Streetrace System by AIDS_Qualle loaded
    [15:53:36] Ursprünglich für die GermanNexusElite entwickelt
    [15:53:36] --------------------------------------------------
    [15:53:36]
    [15:53:36] Loaded 5 filterscripts.
    [15:53:36]
    [15:53:36] Server Log vom: 15:53:36 4.10.2016
    [15:53:36] Setting server password to: "noob"
    [15:53:36] [MySQL] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] MySQL Tabellen wurden erstellt
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_data_seek called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_string called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_data_seek called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_string called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_data_seek called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_string called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_data_seek called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_string called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_data_seek called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_string called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_fetch_field called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:36]
    [15:53:36]
    [15:53:36]
    [15:53:36] =============================================
    [15:53:36] Das Script wurde fertig geladen
    [15:53:36] =============================================
    [15:53:36]
    [15:53:36]
    [15:53:36]
    [15:53:36] Number of vehicle models: 14
    [15:53:39] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:39] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:39] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:39] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:53:39] [connection] 127.0.0.1:52556 requests connection cookie.
    [15:53:40] [connection] incoming connection: 127.0.0.1:52556 id: 0
    [15:53:41] [npc:join] [BOT]LSPDTruck has joined the server (0:127.0.0.1)
    [15:53:44] [connection] 127.0.0.1:45943 requests connection cookie.
    [15:53:45] [connection] incoming connection: 127.0.0.1:45943 id: 1
    [15:53:46] [npc:join] [BOT]FBITruck has joined the server (1:127.0.0.1)
    [15:53:50] [connection] 127.0.0.1:38667 requests connection cookie.
    [15:53:51] [connection] incoming connection: 127.0.0.1:38667 id: 2
    [15:53:51] [npc:join] [BOT]ARMYTruck has joined the server (2:127.0.0.1)
    [15:54:02] Server password has been removed.
    [15:54:03] Server password has been removed.
    [15:54:07] [npc:part] [BOT]FBITruck has left the server (1:0)
    [15:54:13] [npc:part] [BOT]ARMYTruck has left the server (2:0)
    [15:54:15] --- Server Shutting Down.
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_query called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [MySQL] Error (0): Function: mysql_close called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [15:54:15] [npc:part] [BOT]LSPDTruck has left the server (0:0)
    [15:54:15]
    [15:53:36]
    [15:53:36] *** Streamer Plugin v2.7.8 by Incognito unloaded ***
    [15:53:36]
    [15:54:15] SA:MP MySQL Plugin v2.1.1 Unloaded.

  • Wie du siehst kann sich das Script nicht verbinden.
    [MySQL] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).


    Hast du überhaupt mysql auf deinem Server instaliert ? sieht mir nicht danach aus.


    Zeig mal wie du es oben definiert hast.,.

  • Wie du siehst kann sich das Script nicht verbinden.
    [MySQL] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).


    Hast du überhaupt mysql auf deinem Server instaliert ? sieht mir nicht danach aus.


    Ja der MySQL-Server ist bereits installiert und konfiguriert.



    Zeig mal wie du es oben definiert hast.,.



    #define SQL_HOST "localhost"
    #define SQL_USER "samp"
    #define SQL_PASS "***********"
    #define SQL_DB "samp"

  • Probiere mal localhost zu 127.0.0.1 ändern
    ansonsten liegt es an der Konfiguration von deinem Server :=) wo ich dir leider nicht mit helfen kann.



    war um 4:25 da ^^ war zu lange unterwegs