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. About make MYSQL plugin for IOS and Android.
Forum Updated to NodeBB v4.3 + New Features

About make MYSQL plugin for IOS and Android.

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 463 Views 1 Watching
  • 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.
  • T Offline
    T Offline
    taedooly
    wrote on last edited by
    #1

    Hi guys, i'm having trouble with using MYSQL plugin on mobile OS.

    I uses Mac, i followed some documentations and forum and finally success to make those two files.

    libqsqlmysql.dylib
    libqsqlmysql.dylib.dSYM
    

    on Desktop clang 64bit environment, adding those files in (/Qt/5.15.0/clang_64/plugins/sqldrivers/) folder solved my problem
    actually it works perfectly as i want on desktop build.

    but it seems like i need other mysql library files for IOS and android. i'm trying to find solutions... still not found.

    can anyone help me with this problem?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #4

      Why is it a bad idea to expose your database directly on the internet ? I'll let you take a look around at all the breaches resulting in data leaks that have happened recently that did not even involved direct access to databases.

      Then do not hesitate: use a carefully written REST API. This will allow you to have your database abstracted away so you have a clear separation of concerns. Since I see AWS, take the time to learn how to write a properly secured REST backend.

      As for your PS: no it's not, you still have to cross-compile the plugin.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #2

        Hi,

        Warning: bad idea to put your database in direct access through internet.

        That said, Oracle does not provide client libraries for these OSs. You will have to cross-compile MariaDB's client library to build the MySQL plugins for these OSs.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • T Offline
          T Offline
          taedooly
          wrote on last edited by taedooly
          #3

          would you tell me why it's bad idea?

          Cause i'm not professional programmer and have no confidence in cross-compiling, i'm considering between your solution and using REST API (QT mobile app- REST API - AWS RDS). which one will be more simple solution?? or is there any better option for me?

          • i make my app as resource storage management tool for my small factory. about 10 users will use my app. so security issue is not

          ps. if i use Maria DB instead of MYSQL, is it possible to use it directly in mobile os?

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #4

            Why is it a bad idea to expose your database directly on the internet ? I'll let you take a look around at all the breaches resulting in data leaks that have happened recently that did not even involved direct access to databases.

            Then do not hesitate: use a carefully written REST API. This will allow you to have your database abstracted away so you have a clear separation of concerns. Since I see AWS, take the time to learn how to write a properly secured REST backend.

            As for your PS: no it's not, you still have to cross-compile the plugin.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • T Offline
              T Offline
              taedooly
              wrote on last edited by
              #5

              Thanks. i always learn a lot from you QT chompion~ :)

              i will be back later with some other REST API problems........

              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