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
  • Nabend,habe folgendes Problem unzwar kommt ganze zeit diese Meldung:
    [22:59:16] [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).
    [22:59:16] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).


    Was bedeutet das ?
    Oder was muss ich machen ?

    • Offizieller Beitrag
    Zitat

    Can't connect to local MySQL server


    So schwer zu lesen? Kurz und knapp, er kann sich nicht auf den MySQL Server verbinden, weitere Infos wird Google oder die Forensuche dir liefern


    „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

    • Offizieller Beitrag

    Zu viele Verbindungen oder eine kurzzeitige Unterbrechung? Hättest halt mal ein bisschen Mehr vom Serverlog posten müssen

  • Zu viele Verbindungen oder eine kurzzeitige Unterbrechung? Hättest halt mal ein bisschen Mehr vom Serverlog posten müssen

    Server Log

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


    SA-MP Dedicated Server
    ----------------------
    v0.3x-R2, (C)2005-2013 SA-MP Team


    [23:05:27] filterscripts = "" (string)
    [23:05:27]
    [23:05:27] Server Plugins
    [23:05:27] --------------
    [23:05:27] Loading plugin: mysql.so
    [23:05:27] SA:MP MySQL Plugin v2.1.1 Loaded.
    [23:05:27] Loaded.
    [23:05:27] Loading plugin: streamer.so
    [23:05:27]


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


    [23:05:27] Loaded.
    [23:05:27] Loading plugin: sscanf.so
    [23:05:27]


    [23:05:27] ===============================


    [23:05:27] sscanf plugin loaded.


    [23:05:27] Version: 2.8.1


    [23:05:27] (c) 2012 Alex "Y_Less" Cole


    [23:05:27] ===============================


    [23:05:27] Loaded.
    [23:05:27] Loaded 3 plugins.


    [23:05:27] [MySQL] Thread running. Threadsafe: Yes.
    [23:05:27]
    [23:05:27] Filterscripts
    [23:05:27] ---------------
    [23:05:27] Loaded 0 filterscripts.


    [23:05:27] [MySQL] Error (0): Failed to connect. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [MySQL] Error (0): Function: mysql_ping called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] MySQL-Verbindung wurde erfolgreich hergestellt
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
    [23:05:27] [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).
    [23:05:27] [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).
    [23:05:27] [MySQL] Error (0): Function: mysql_fetch_row called when not connected to any database. Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).

  • Je nachdem was du für einen MySql Server hast, bei mir auf dem Debian Server war es so,
    dass er standardmäßig nur "127.0.0.1" erlaubt, dies muss man umstellen,
    aber war zu faul dafür also hab ich einfach "127.0.0.1" genommen und es ging ^^
    Kannst es ja mal probieren oder umstellen bzw. nach schauen ob dass der Fall ist. ;)
    Andere Möglichkeit wüsste ich jetzt nicht auf die schnelle

  • do.de - Domain-Offensive - Domains für alle und zu super Preisen
  • Je nachdem was du für einen MySql Server hast, bei mir auf dem Debian Server war es so,
    dass er standardmäßig nur "127.0.0.1" erlaubt, dies muss man umstellen,
    aber war zu faul dafür also hab ich einfach "127.0.0.1" genommen und es ging ^^
    Kannst es ja mal probieren oder umstellen bzw. nach schauen ob dass der Fall ist. ;)
    Andere Möglichkeit wüsste ich jetzt nicht auf die schnelle


    es geht yeah danke viel mals.