Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt connection to the database, via the Internet (desktop application)
QtWS25 Last Chance

Qt connection to the database, via the Internet (desktop application)

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 709 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.
  • L Offline
    L Offline
    lenina15i25
    wrote on last edited by
    #1

    Good afternoon, I wanted to ask. I wrote an application on Qt that interacts with the database (MySQl). Is it possible in any way to organize an application for this database if the database is on a remote PC (on the Internet). If so, what do you need to do (where to put the database or upload to the server) and how to connect to it in this case?

    1 Reply Last reply
    0
    • EddyE Offline
      EddyE Offline
      Eddy
      wrote on last edited by
      #2

      Hi and welcome to the Qt forum,

      Here is a good starting point using DSN

      Eddy

      Qt Certified Specialist
      www.edalsolutions.be

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

        Hi and welcome to devnet,

        To add to @Eddy, please secure the connection. It's never a good idea to expose a database directly over internet.

        Currently, the technique commonly used is to expose a web service that allows to interact with the database in a known and restricted manner through a REST API.

        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
        1

        • Login

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