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. Problem Connection to Postgre SQL in Docker
Forum Updated to NodeBB v4.3 + New Features

Problem Connection to Postgre SQL in Docker

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 320 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.
  • M Offline
    M Offline
    mpl210
    wrote on last edited by mpl210
    #1

    Hi all..., i wil ask how to trace problem, i have to postgre SQL in local with port 5432, and postgres in Docker i set port forward 5444, i cannot connect using app build with QT to port 5444 just to 5432, i compare using Navicat its ok, connect to port 5432 and 5444 no problem, whats wrong?? many thanks.

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

      Hi,

      What is the exact error you get from your code ?

      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
      • M Offline
        M Offline
        mpl210
        wrote on last edited by
        #3

        @SGaist thank you for your attention, I have found the problem, it turns out that I am using a different database name, so I can't connect

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

          Glad you found out and thanks for sharing !

          Since you have it working now, please make the thread as solved so that other forum users may know a solution has been found :-)

          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

          • Login

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