简体   繁体   中英

Cannot connect to database using GUI

Hello its my first time using GUI software for postgres. I want to know how to connect to my database using pdAdmin or any other software.

I usually connect using command line

  1. I use ssh @example.ax
  2. I insert my password.
  3. I use psql -h webdb to connect to postgres
  4. I enter my database password.
    Inside Postgres

How can I connect using a GUI software? or would i be able to?

  1. Click 'Add a connection to a server' button at the top left.
  2. In the dialog box that appears, fill in the details

    2.1 Name: Anything relevant to your database

    2.2 Host: Address of your database (localhost, any other IP address)

    2.3 Port: The port in which database is running on (5432 default)

    2.4 Username: Username you use to log in to the database

    2.4 Password: Password to log in to the database

    Leave other options as they are. You can additionally configure colors.

  3. Click on to View -> Tick Object browser (CTRL + ALT + O) will work too
  4. There you'll see your recently added server. Connect to it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM