Mein Linux Server hat Probleme beim Connecten mit Mysql

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
  • Liebe User/in, ich habe einen problem und zwar habe ich ein Mysql script von Windows server Funktioniert es dennoch auf mein Linux root geht es nicht. Die Datenbank kann er von win connecteten.



    Fehler:


    Zitat
    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_free_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_query called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_store_result called when not connected to any database.

    Zitat

    [12:29:30] [MySQL] Error (0): Function: mysql_num_rows called when not connected to any database.


    Ich weiß nicht weiter :( bitte um hilfe habe Linux :( nur auf linux klappt es nicht.

  • Es geht immer noch nicht es kommt der gleich Fehler wie voher und daten sind zu 100% richtig auf win root geht es nur auf linux root server nicht. das ist ja das problem

    Kann es sein, dass du bei deinem Windows Server "localhost" benutzt.
    Bei Linux auch "Localhost"?


    Wenn du das auf Linux machst, musst du die IP Adresse vom Windows Server angeben.
    Anstatt Localhost.


    UND der Windows Server muss die Verbindungen vom Linux akzeptieren.

    Miete mich (nicht) :love:

  • Wenn ich es jetzt richtig verstehe lässt dein Linux Server keine Mysql Verbindungen zu. Ist das Richtig?

  • Das ähnliche Problem hatte ein Kunde kürzlich auch bei uns.


    Es lag in den Mysql Server Einstellungen, es war eine Blockade drin, was keine Verbindungen zu ließ.

  • HT-Server das lustige an der sache ist ja das mein Windows root darauf zu greifen kann und mein linux root nicht ? wenn wie stelle ich blockade rau?


    in der my.cnf

  • Weiß ich jetzt auch nicht mehr genau, zeig mal was drin steht

  • Das meine Config ;):