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. SQL Over HTTP driver plugin
QtWS25 Last Chance

SQL Over HTTP driver plugin

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 1.1k 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.
  • K Offline
    K Offline
    ki John
    wrote on last edited by
    #1

    When your hosting provider doesn't allow accessing the database server from the outside, what do you do? They allow access to the database only from PHP and Perl from their virtual hosts.

    I know you can change the provider but is there a way to access database from through the web server remotely from a Qt application?

    I mean is there a database plugin already in place or is someone working on sucha database plugin for Qt?

    Thanks

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

      Hi,

      You generally provide a REST API to access that database from the outside. This has the benefit to not open a security hole.

      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
      • K Offline
        K Offline
        ki John
        wrote on last edited by
        #3

        True,
        so do you know if someone is implementing REST API in database driver plugin? You know, just like mysql_plugin, odbc_plugin, etc.?

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

          There's not. The API of your service is up to you. The idea is not to mimic every functionality of your SQL backend, it's to provide a set of functions that will return the data you need.

          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
          • K Offline
            K Offline
            ki John
            wrote on last edited by
            #5

            Here's an example how REST API over HTTP/S is supported on the database server side
            http://www.infoq.com/news/2014/09/MySQL-REST

            Now we need someone to make mysql_over_http_plugin. Is anyone interested?

            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