Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Problem mit IoBroker und mysql

    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

    Problem mit IoBroker und mysql

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      Thomas 7 @wendy2702 last edited by wendy2702

      @wendy2702 ja, das geht und ich sehe auch eine funktionsfähige Verbindung von iobroker zu mysql. Trotzdem zeigt das Protokoll die angegebene Fehlermeldung

      pi@raspberrypi-4iob:~ $ mysql -u iobroker -p
      Enter password:
      Welcome to the MariaDB monitor.  Commands end with ; or \g.
      Your MariaDB connection id is 567
      Server version: 10.3.31-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 [(none)]> Hier ist meine Aufstellung:
      

      MOD EDIT: Log in Code Tags gesetzt

      1 Reply Last reply Reply Quote 0
      • wendy2702
        wendy2702 @Thomas 7 last edited by

        @thomas-7 sagte in Problem mit IoBroker und mysql:

         Error: ER_DBACCESS_DENIED_ERROR: Access denied for user 'iobroker' @'%' to database 'iobroker'
        CREATE DATABASE "obroker' DEFAULT CHARACTER SET utf8 DEFAULT COLLATE utf8_ general_ci;
        

        Gerade gesehen: glaube dir fehlt ein „i“ in der Adapter config.

        Im Log steht „CREATE DATABASE „broker“ <—— denke das sollte „iobroker“ heißen.

        T 1 Reply Last reply Reply Quote 0
        • T
          Thomas 7 @wendy2702 last edited by

          @wendy2702 Ja stimmt, da fehlt ein "i". Wie kann ich das korrigieren oder neu eingeben ?

          wendy2702 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 @Thomas 7 last edited by

            @thomas-7 Woher kommt denn das logfile aus dem ersten Post ?

            T 1 Reply Last reply Reply Quote 0
            • T
              Thomas 7 @wendy2702 last edited by

              @wendy2702 Das kommt aus dem Protokoll von iobroker

              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @Thomas 7 last edited by

                @thomas-7 Ja, hast du einen Datenbank Adapter für den Zugriff auf MySQL laufen?

                Wenn ja denke ich das dort deine Zugangsdaten drin stehen

                T 1 Reply Last reply Reply Quote 0
                • T
                  Thomas 7 @wendy2702 last edited by

                  @wendy2702 genau. Muß ich dort dann nur obroker eingeben ?

                  T Homoran 2 Replies Last reply Reply Quote 0
                  • T
                    Thomas 7 @Thomas 7 last edited by

                    @wendy2702 Habe ich gerade leider erfolglos probiert. Allerdings läuft die Verbindung gut mit SQLite3 ohne Paßwörter

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

                      @thomas-7 sagte in Problem mit IoBroker und mysql:

                      Muß ich dort dann nur obroker eingeben ?

                      was ist dort?

                      Der Datenbankname, nicht der Username, ist obroker

                      T 1 Reply Last reply Reply Quote 0
                      • T
                        Thomas 7 @Homoran last edited by

                        @homoran ja, ich habe die DB obroker umbenannt.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          Thomas 7 @Thomas 7 last edited by

                          @Homoran ich hatte bei der Installation große Probleme mit meiner Tastatur, weil ich die Zeichen nicht auf den richtigen Tasten gefunden habe. Allein die Raute habe ich nur über Einfügen hineinbekommen. Woran lag das denn nur ?

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

                            @thomas-7 sagte in Problem mit IoBroker und mysql:

                            Woran lag das denn nur ?

                            dann hast du im raspi-config die Tastatur wahrscheinlich noch auf US stehen

                            T 1 Reply Last reply Reply Quote 0
                            • T
                              Thomas 7 @Homoran last edited by

                              @homoran nein, meine Einstellung ist utf8 de siehe oben

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

                                @thomas-7 sagte in Problem mit IoBroker und mysql:

                                meine Einstellung ist utf8

                                das ist nicht die Keyboard Einstellung, die müsste de/de sein

                                T 1 Reply Last reply Reply Quote 0
                                • T
                                  Thomas 7 @Homoran last edited by

                                  @homoran wo und wie kann ich das prüfen, bzw. ändern ?

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

                                    @thomas-7 sagte in Problem mit IoBroker und mysql:

                                    @homoran wo und wie kann ich das prüfen, bzw. ändern ?

                                    sudo raspi-config irgendetwas bei den Inernationlizations

                                    oder
                                    dpkg-reconfigure keyboard-configuration

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      Thomas 7 @Homoran last edited by

                                      @homoran said in Problem mit IoBroker und mysql:

                                      dpkg-reconfigure keyboard-configuration

                                      ich kann das Keyboard nicht ändern, weil ich wohl das lite Betriebssystem aufgespielt habe. Ich nutze den Raspi nur als Server ohne angeschlossene Tastatur

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

                                        @thomas-7 sagte in Problem mit IoBroker und mysql:

                                        ich kann das Keyboard nicht ändern, weil ich wohl das lite Betriebssystem aufgespielt habe

                                        was hat das miteinander zu tun?

                                        @thomas-7 sagte in Problem mit IoBroker und mysql:

                                        Ich nutze den Raspi nur als Server ohne angeschlossene Tastatur

                                        dann ist auch nicht der Tastaturtreiber verantwortlich.

                                        Allerdings könnte einiges krumm sein, wenn du z.B. ein nicht sichtbares Passwort eingibst, und etwas anderes erkannt wird, als du schreiben wolltest.
                                        Ich würde der gessamten Installation nicht trauen

                                        T 1 Reply Last reply Reply Quote 0
                                        • T
                                          Thomas 7 @Homoran last edited by

                                          @homoran ok, ich verstehe. Dann habe ich aber wohl ein Problem, weil in dem youtube Video die Tastaturbefehle nur unzureichend beschrieben sind. Ich nehme an, daß ich dann mit der SQLite3 Version weiterarbeiten kann, oder ?

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • wendy2702
                                            wendy2702 last edited by

                                            Also wenn ich nicht wüsste welche Tasten ich wann wo und wie verwendet habe würde ich neu installieren

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            371
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            54
                                            2367
                                            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