Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. SQL (4358) Error: Packets out of order. Got: 1 Expected: 0

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    SQL (4358) Error: Packets out of order. Got: 1 Expected: 0

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      BastelKlaus last edited by

      Systemdata Bitte Ausfüllen
      Hardwaresystem: Pi4
      Arbeitsspeicher: 4GB
      Festplattenart: SSD
      Betriebssystem: raspian
      Node-Version: 10.x.x
      Nodejs-Version: v12.21.0
      NPM-Version: 6.14.11
      Installationsart: Skript
      Image genutzt: Nein
      Ort/Name der Imagedatei: Link

      Hallo ich bekomm seit einer Woche in meinen Logs Seitenweise diesen
      Error: Packets out of order. Got: 1 Expected: 0

      Ich nutze MY-SQL (MariaDB) und der Verbindungstest sagt OK.
      Über Heidi-SQL kann ich auch von meinen Windows10 Rechner auf die Datenbank zugreifen.
      Meine Flot Chart läuft auch.

      Im Forum hab ich schon gesucht, Aber bei mir sind alle Ampeln des SQL-Adapters auf grün.

      Ich habe auch schon versucht in der config mit
      sudo vi /etc/mysql/mariadb.conf.d/50-server.cnf
      den Wert von 16 auf 32 zu ändern
      max_allowed_packet = 32M
      Das hat jemand mal bei einer Synlogy geschrieben, dass das geholfen hat.

      Bei mir nicht, bin grad echt ratlos was ich machen könnte.
      Ich Hoffe das Thema ist hier nicht Falsch.

      Danke schon mal für eure Hilfe

      A 1 Reply Last reply Reply Quote 0
      • A
        andi2055 @BastelKlaus last edited by

        @bastelklaus

        Ich hatte das Problem die letzten Tage auch mit MariaDB.

        Lösung bei mir: Folgende Werte in diese Dateien eingefügt (wobei ich mir nicht die Mühe gemacht habe zu prüfen, ob beide relevant sind):

        /etc/mysql/mariadb.conf.d/50-server.cnf

        key_buffer_size        = 32M
        max_allowed_packet     = 512M
        thread_stack           = 192K
        thread_cache_size      = 8
        max_connections        = 4096
        

        /etc/mysql/mariadb.cnf

        [mysqld]
        #skip-networking=0
        #skip-bind-address
        bind-address=0.0.0.0
        wait_timeout = 28800
        interactive_timeout = 28800
        max_allowed_packet = 512M
        max_connections        = 4096
        

        sudo service mysql restart

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Support us

        ioBroker
        Community Adapters
        Donate

        913
        Online

        31.9k
        Users

        80.1k
        Topics

        1.3m
        Posts

        sql
        2
        2
        457
        Loading More Posts
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes
        Reply
        • Reply as topic
        Log in to reply
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
        The ioBroker Community 2014-2023
        logo