Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. How to connect to MySQL Server using iPhone

How to connect to MySQL Server using iPhone

Scheduled Pinned Locked Moved Solved Mobile and Embedded
6 Posts 3 Posters 712 Views
  • 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.
  • B Offline
    B Offline
    Bayesky
    wrote on last edited by
    #1

    I have successfully connected to MySQL Server on Mac, but when I debuged on iPhone, the old error appeared again which said "Driver not loaded Driver not loaded" as the same as appeared on Mac before.
    So, how could I connect to MySQL Server using iPhone? need some plugins?
    Thank you.

    jsulmJ 1 Reply Last reply
    0
    • B Bayesky

      I have successfully connected to MySQL Server on Mac, but when I debuged on iPhone, the old error appeared again which said "Driver not loaded Driver not loaded" as the same as appeared on Mac before.
      So, how could I connect to MySQL Server using iPhone? need some plugins?
      Thank you.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Bayesky Why do you want to do so?
      Where is this MySQL server running?
      Apps running on mobile phones should not connect to SQL databases directly. Such databases should not be exposed to the Internet directly anyway. Instead REST services are usually provided on the server to have an access in a controlled way.

      "need some plugins?" - yes, same as is used on PC. But, again: why do you want to do so?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • B Offline
        B Offline
        Bayesky
        wrote on last edited by
        #3

        @jsulm I would want to download/upload some files saved in MySQL Server. When open some page, iPhone connects to the server automatically and list the whole content, and user clicks the favorite item and then downloaded from server.
        If I want to achieve this, what method should I use?
        MySQL Server is running in a cloud server. You said "Apps running on mobile phones should not connect to SQL databases directly", is out of concern for safety? .
        Forgive my unprofessional question, I am a beginner on Internet programming.
        Thank you again.

        jsulmJ 1 Reply Last reply
        0
        • B Bayesky

          @jsulm I would want to download/upload some files saved in MySQL Server. When open some page, iPhone connects to the server automatically and list the whole content, and user clicks the favorite item and then downloaded from server.
          If I want to achieve this, what method should I use?
          MySQL Server is running in a cloud server. You said "Apps running on mobile phones should not connect to SQL databases directly", is out of concern for safety? .
          Forgive my unprofessional question, I am a beginner on Internet programming.
          Thank you again.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Bayesky Why do you store files in a SQL server?

          "If I want to achieve this, what method should I use?" - you should implement a REST API.
          If you just want to download files from the server there is no need for SQL server.

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          B 1 Reply Last reply
          1
          • H Offline
            H Offline
            himoo7
            Banned
            wrote on last edited by himoo7
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • jsulmJ jsulm

              @Bayesky Why do you store files in a SQL server?

              "If I want to achieve this, what method should I use?" - you should implement a REST API.
              If you just want to download files from the server there is no need for SQL server.

              B Offline
              B Offline
              Bayesky
              wrote on last edited by
              #6

              @jsulm Thanks for help. I learn REST API and find it most helpful indeed. Thank you again.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved