Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Unsolved SQL Over HTTP driver plugin

    General and Desktop
    2
    5
    1014
    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.
    • K
      ki John last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • K
          ki John last edited by

          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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • K
              ki John last edited by

              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 Reply Quote 0
              • First post
                Last post