Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    MySQL

    Scheduled Pinned Locked Moved WiPy 2&3
    wipy
    7 Posts 3 Posters 2.0k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      michalt38
      last edited by

      Hello,
      how can I send commands to a MySQL database via WiPy?

      L 1 Reply Last reply Reply Quote 0
      • L Offline
        livius @michalt38
        last edited by

        @michalt38
        create service/webservice on computer/server and inside it connect to mysql
        then connect to that service and send data from wipy by eg wifi
        i do this in that way to connect to Firebird sql database

        think about people first, then computers

        1 Reply Last reply Reply Quote 1
        • M Offline
          michalt38
          last edited by michalt38

          @livius
          Do you have an example code that runs MySQL in a way you described?

          L 1 Reply Last reply Reply Quote 0
          • L Offline
            livius @michalt38
            last edited by

            @michalt38 said in MySQL:

            Do you have an example code that runs MySQL in a way you described?

            look in google about creating service
            I am Delphi developer and for me it is easy there - but Delphi is not free software
            and beacuse of this i say google for the answer.
            If you have Delphi i can tell you more :)

            think about people first, then computers

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              michalt38 @livius
              last edited by

              @livius
              Ok, but how to connect to this service?

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                livius @michalt38
                last edited by livius

                @michalt38 said in MySQL:

                connect by wifi
                https://docs.pycom.io/pycom_esp32/library/network.WLAN.html

                and then create socket and connect to service listen on some port
                https://docs.pycom.io/pycom_esp32/library/usocket.html

                think about people first, then computers

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rskoniec
                  last edited by rskoniec

                  @michalt38 Here (click me) is a good example about what @livius said.

                  The machine is working as good as it's code.

                  1 Reply Last reply Reply Quote 0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  • 1 / 1
                  • First post
                    Last post

                  Pycom on Twitter

                  Pycom