Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. MariaDB auf DiskStation als Datenbank für Flot

    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

    MariaDB auf DiskStation als Datenbank für Flot

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

      Hallo und danke für die tolle Anleitung!

      Die Installation von phpmyadmin hat auch soweit geklappt. Leider habe ich jetzt bei der Installation des SQL Adapters in ioBroker Probleme. Ich bekomme die Fehlermeldung "invalid version of js-controller. installed 0.11.3, required >=0.12.0"

      Kann mir jemand sagen, wie ich den js-controller aktualisieren kann?
      1577_sql.png

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        Zuerst ins Installationsverzeichnis wechseln, auf dem Raspi

        cd /opt/iobroker
        iobroker stop
        iobroker update
        iobroker upgrade self
        iobroker start
        
        

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • B
          BausatzFan last edited by

          Prima, hat geklappt. Ich kann jetzt Graphen anzeigen lassen 🙂

          Vielen Dank für Deine Hilfe!

          1 Reply Last reply Reply Quote 0
          • K
            krissi last edited by

            Hi Thorsten, ich habe das genau nach deiner Anleitung gemacht, ich bekomme aber keine Verbindung. Log zeigt

            sql.0	2017-09-01 20:56:40.136	error	Error: ER_WRONG_DB_NAME: Incorrect database name 'iobroker '
            sql.0	2017-09-01 20:56:40.132	error	CREATE DATABASE `iobroker ` DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_general_ci;
            

            Wenn ich im Adapter auf "Verbindung Testen" gehe, kommt

            Error: connect ECONNREFUSED 192.168.148.2:3306
            

            Jetzt ist mir bei deinen Bilder aufgefallen das Du unter iobroker Einträge hast, wo kommen die her? Bei mir steht nach erstellung der Datenbank nichts.
            314_pic_sql1.jpg
            Bei mir
            314_pic_sql2.jpg
            User in phpmyadmin
            314_pic_sql3.jpg
            Einstellung mi Adapter
            314_pic_sql4.jpg
            Gruß,

            Andre

            1 Reply Last reply Reply Quote 0
            • R
              RalfR72 last edited by

              Hatte auch das Problem, habe dann bei Port 3307 eingegeben. Glaub der Port der MariaDB, jedenfalls hats danach funktioniert.

              Gesendet von iPad mit Tapatalk

              1 Reply Last reply Reply Quote 0
              • K
                krissi last edited by

                @RalfR72:

                Hatte auch das Problem, habe dann bei Port 3307 eingegeben. Glaub der Port der MariaDB, jedenfalls hats danach funktioniert. `

                Ok, probiere ich heute Abend mal aus. Danke

                1 Reply Last reply Reply Quote 0
                • B
                  bibo09 last edited by

                  Hallo,

                  ich habe alles soweit nach dieser Anleitung eingerichtet.

                  Leider bekomme ich keine verbindung. Den Port habe ich auf der Fritz freigegeben.

                  > Error: getaddrinfo ENOTFOUND 192.168.177.7:3307 192.168.177.7:3307:3306

                  Habt ihr einen Idee?

                  Gruß

                  bibo

                  1 Reply Last reply Reply Quote 0
                  • R
                    RalfR72 last edited by

                    Hast du in der Synology eine Firewall aktiv? Dort evtl. Den Dienst phpadmin und MariaDB freigeben.

                    Gesendet von iPad mit Tapatalk

                    1 Reply Last reply Reply Quote 0
                    • B
                      bibo09 last edited by

                      Habe die Firewall ausgeschaltet -> keine Verbindung

                      1 Reply Last reply Reply Quote 0
                      • R
                        RalfR72 last edited by

                        Bei mir sehn die Einstellungen des SQL Adapters so aus.
                        3298_sql-history_adapter_einstellung.png

                        1 Reply Last reply Reply Quote 0
                        • B
                          bibo09 last edited by

                          Warum auch immer bekomme ich keine Verbindung ~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201709 ... d9a2a9.jpg">https://uploads.tapatalk-cdn.com/20170904/9de31e6d2526772fa22ae0e9c9d9a2a9.jpg</link_text>" />

                          Gesendet von meinem SM-G930F mit Tapatalk~~

                          1 Reply Last reply Reply Quote 0
                          • R
                            RalfR72 last edited by

                            Heißt deine Datenbank genau gleich wie dein Benutzername der Datenbank?

                            Gesendet von iPad mit Tapatalk

                            1 Reply Last reply Reply Quote 0
                            • B
                              bibo09 last edited by

                              Wie schon gesagt die Firewall vom NAS ist aus. Gibt es irgendwo ein Log der mehr verraten könnte?~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201709 ... 904e2d.jpg">https://uploads.tapatalk-cdn.com/20170904/7bc2a5f57cb1922849583690ff904e2d.jpg</link_text>" />

                              Gesendet von meinem SM-G930F mit Tapatalk~~

                              1 Reply Last reply Reply Quote 0
                              • R
                                RalfR72 last edited by

                                Weiß ich auch nicht, schick mal einen Screenshot von den datenbank einstellungen. Ich mach auch gleich mal einen

                                Gesendet von iPad mit Tapatalk

                                1 Reply Last reply Reply Quote 0
                                • R
                                  RalfR72 last edited by

                                  Rechte Einstellungen
                                  3298_db-rechte.png

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    RalfR72 last edited by

                                    Struktur
                                    3298_db-strucktur.png

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bibo09 last edited by

                                      Sorry alles Screenshots vom Handy.

                                      Oder gibt es am NAS noch was einzustellen?

                                      ![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201709 ... 9c2eb0.jpg">https://uploads.tapatalk-cdn.com/20170904/083bfdac365399e1b3fa5b38f29c2eb0.jpg</link_text>" />![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201709 ... bd9ea4.jpg">https://uploads.tapatalk-cdn.com/20170904/9a249c3132445036d649847cdebd9ea4.jpg</link_text>" />

                                      Gesendet von meinem SM-G930F mit Tapatalk~~~~

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        RalfR72 last edited by

                                        Also ich hatte anfangs auch keine Verbindung. Nach vielem probieren gings dann auf einmal.

                                        Habe auch die Datenbank bei phpmyadmin nochmal gelöscht, neu angelegt und dann hats geklappt.

                                        Kannst ja auch nochmal versuchen.

                                        Gesendet von iPad mit Tapatalk

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          krissi last edited by

                                          Bei mir sieht es so aus als wenn es jetzt geht. Danke für die Info mit dem Port 😉

                                          1 Reply Last reply Reply Quote 0
                                          • B
                                            bibo09 last edited by

                                            Hat nun funktioniert nachdem ich die Datenbank nochmal installiert habe.

                                            Gruß und Danke

                                            bibo

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            756
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            flot mariadb mysql synology diskstation
                                            16
                                            41
                                            19126
                                            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