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. Accessing remote oracle database method to get service id!
Forum Update on Tuesday, May 27th 2025

Accessing remote oracle database method to get service id!

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtcreatorc++portremote
1 Posts 1 Posters 621 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
    Lasith
    wrote on last edited by Lasith
    #1

    I want to develop a user login to remote oracle database where user enters username,password, ip address, port number and service id! I found methods for username,password, ipaddress and portno! But I need method to get service ID! what are they?

    QSqlDatabase mydb = QSqlDatabase::addDatabase ("QSQLITE");
    mydb.setHostName ("xxx.xxx.xxx.xxx"); //ip address
    mydb.setDatabaseName ("my_databwwase");
    mydb.setUserName ("my_username");
    mydb.setPassword ("my_password");
    mydb.setPort("portnumber");

    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