Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. MYSQL Port 0 zu klein?!

    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

    MYSQL Port 0 zu klein?!

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      sugram @mickym last edited by

      @mickym Password glaube ich jetzt nicht, habe daran ja nicht's geändert. Aber man kann nie wissen.

      Der Befehl netstat -Tulpe liefert mir ne Fehlermeldung, da er "T" nicht kennt. Der IoBroker läuft auf nem PI.
      Hab mal netstat | grep sql gemacht.

      Bild_2022-11-13_135317115.png

      1 Reply Last reply Reply Quote 0
      • mickym
        mickym Most Active last edited by mickym

        @sugram kleines t - ist wenn man auf iPad schreibt. Also netstat-tulpe

        Thomas Braun S 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @mickym last edited by Thomas Braun

          @mickym sagte in MYSQL Port 0 zu klein?!:

          Also netstat-tulpe

          Nee...

          netstat -tulpe
          

          Und ganz eigentlich verwendet man

          ss -tulpe
          
          mickym 1 Reply Last reply Reply Quote 0
          • mickym
            mickym Most Active @Thomas Braun last edited by

            @thomas-braun hab ich doch geschrieben

            Thomas Braun 1 Reply Last reply Reply Quote 0
            • S
              sugram @mickym last edited by

              @mickym

              liefert das

              1cfeb8af-3b81-44b2-9411-c51010b435f7-image.png

              Falls alles nicht hilft, werde ich einfach ein altes Backup einspielen.

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @mickym last edited by

                @mickym

                Nein, da fehlt das Leerzeichen... 😛

                1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @sugram last edited by

                  @sugram

                  Bitte keine Bildchen aus der Konsole, Text in CodeTags eingebettet hier rein.

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sugram @Thomas Braun last edited by

                    @thomas-braun Sorry

                    pi@AVM-WERTE:~ $ netstat -tulpe
                    (Es konnten nicht alle Prozesse identifiziert werden; Informationen über
                    nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.)
                    Aktive Internetverbindungen (Nur Server)
                    Proto Recv-Q Send-Q Local Address           Foreign Address         State       Benutzer   Inode      PID/Program name
                    tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN      root       19768      -
                    tcp        0      0 0.0.0.0:8888            0.0.0.0:*               LISTEN      root       34491      -
                    tcp        0      0 localhost:smtp          0.0.0.0:*               LISTEN      root       19016      -
                    tcp        0      0 localhost:9000          0.0.0.0:*               LISTEN      iobroker   20676      -
                    tcp        0      0 localhost:9001          0.0.0.0:*               LISTEN      iobroker   20669      -
                    tcp        0      0 localhost:mysql         0.0.0.0:*               LISTEN      mysql      19821      -
                    tcp6       0      0 [::]:http               [::]:*                  LISTEN      root       19791      -
                    tcp6       0      0 [::]:tproxy             [::]:*                  LISTEN      iobroker   20222      -
                    tcp6       0      0 [::]:8082               [::]:*                  LISTEN      iobroker   24267      -
                    tcp6       0      0 [::]:ssh                [::]:*                  LISTEN      root       19770      -
                    tcp6       0      0 [::]:8888               [::]:*                  LISTEN      root       34492      -
                    tcp6       0      0 [::]:3000               [::]:*                  LISTEN      grafana    21774      -
                    tcp6       0      0 localhost:smtp          [::]:*                  LISTEN      root       19017      -
                    udp        0      0 0.0.0.0:bootpc          0.0.0.0:*                           root       17876      -
                    udp        0      0 0.0.0.0:mdns            0.0.0.0:*                           avahi      17669      -
                    udp        0      0 0.0.0.0:52990           0.0.0.0:*                           avahi      17671      -
                    udp6       0      0 [::]:37908              [::]:*                              avahi      17672      -
                    udp6       0      0 [::]:dhcpv6-client      [::]:*                              root       16199      -
                    udp6       0      0 [::]:mdns               [::]:*                              avahi      17670      -
                    pi@AVM-WERTE:~ $
                    
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active last edited by

                      @sugram sagte in MYSQL Port 0 zu klein?!:

                      netstat -tulpe

                      Und mit

                      netstat -tulpen
                      

                      sieht man auch die Portnummern.

                      S 1 Reply Last reply Reply Quote 0
                      • mickym
                        mickym Most Active last edited by

                        Das schaut meiner Meinung nach ok aus. Kannst du dich denn über Kommando verbinden?

                        
                        mysql --user=user_name --password=your_password db_name
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • S
                          sugram @Thomas Braun last edited by sugram

                          @thomas-braun

                          pi@AVM-WERTE:~ $ netstat -tulpen
                          (Es konnten nicht alle Prozesse identifiziert werden; Informationen über
                          nicht-eigene Processe werden nicht angezeigt; Root kann sie anzeigen.)
                          Aktive Internetverbindungen (Nur Server)
                          Proto Recv-Q Send-Q Local Address           Foreign Address         State       Benutzer   Inode      PID/Program name
                          tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      0          19768      -
                          tcp        0      0 0.0.0.0:8888            0.0.0.0:*               LISTEN      0          34491      -
                          tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN      0          19016      -
                          tcp        0      0 127.0.0.1:9000          0.0.0.0:*               LISTEN      1001       20676      -
                          tcp        0      0 127.0.0.1:9001          0.0.0.0:*               LISTEN      1001       20669      -
                          tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      110        19821      -
                          tcp6       0      0 :::80                   :::*                    LISTEN      0          19791      -
                          tcp6       0      0 :::8081                 :::*                    LISTEN      1001       20222      -
                          tcp6       0      0 :::8082                 :::*                    LISTEN      1001       24267      -
                          tcp6       0      0 :::22                   :::*                    LISTEN      0          19770      -
                          tcp6       0      0 :::8888                 :::*                    LISTEN      0          34492      -
                          tcp6       0      0 :::3000                 :::*                    LISTEN      109        21774      -
                          tcp6       0      0 ::1:25                  :::*                    LISTEN      0          19017      -
                          udp        0      0 0.0.0.0:68              0.0.0.0:*                           0          17876      -
                          udp        0      0 0.0.0.0:5353            0.0.0.0:*                           108        17669      -
                          udp        0      0 0.0.0.0:52990           0.0.0.0:*                           108        17671      -
                          udp6       0      0 :::37908                :::*                                108        17672      -
                          udp6       0      0 :::546                  :::*                                0          16199      -
                          udp6       0      0 :::5353                 :::*                                108        17670      -
                          pi@AVM-WERTE:~ $
                          
                          
                          

                          Die Datenbank antwortet zumindest

                          
                          
                          pi@AVM-WERTE:~ $ mysql --user=iob_log --password=******** iob_log
                          Reading table information for completion of table and column names
                          You can turn off this feature to get a quicker startup with -A
                          
                          Welcome to the MariaDB monitor.  Commands end with ; or \g.
                          Your MariaDB connection id is 617
                          Server version: 10.3.34-MariaDB-0+deb10u1 Raspbian 10
                          
                          Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
                          
                          Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
                          
                          MariaDB [iob_log]>
                          
                          
                          mickym 1 Reply Last reply Reply Quote 0
                          • mickym
                            mickym Most Active @sugram last edited by mickym

                            @sugram Na das schaut gut aus - dann musst wohl doch nochmal an die Adapter Konfiguration. Den Port jedenfalls auf 3306 einstellen, der stimmt, wie Du siehst.

                            Ggf. nochmal passwort, user und Datenbank in die DB Konfiguration eingeben. Bei mir schaut die Konfiguration identisch aus und das tut. Ich würde einfach das Passwort im Adapter nochmal neu eingeben.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              sugram @mickym last edited by sugram

                              @mickym habe nun nochmal das Passwort neu vergeben und dann in der Oberfläche eingegeben und den Port von 0 auf 3306 geändert.

                              Jetzt läuft es so wie es aussieht wieder normal

                              Bild_2022-11-13_145413031.png

                              Bild_2022-11-13_145448482.png

                              DANKE euch allen für die Hilfe!!

                              S 1 Reply Last reply Reply Quote 1
                              • S
                                sugram @sugram last edited by

                                Hallo

                                Jetzt hatte ich heute wieder das Problem, als ich von Node.js ein Update gemacht hatte.

                                Nach längerer Suche, habe ich folgenden Hinweis gefunden.
                                Im SQL Adapter den Server von 'localhost auf '127.0.0.1' zu ändern.
                                Siehe da, es funktioniert wieder.

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                453
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

                                3
                                18
                                879
                                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