starting postgresql and pgadmin in windows without installation

前端 未结 3 507

How can I start PostgreSQL and pgAdmin III in windows without installation. I do not have admin rights in a system. so I need to start the application without installing . H

3条回答
  •  Happy的楠姐
    2020-12-07 10:40

    I tried above method its working fine, but when i tried to connect it via JDBC i used to get

    "The authentication type 10 is not supported. Check that you have configured the pg_hba.conf file to include the client's IP address or subnet, and that it is using an authentication scheme supported by the driver."

    This happens because scram-sha-256 has some issue(refer here), i couldn't understand in depth, so i changed it to md5, All started to work smoothly.hope it helps

    .\initdb -D D:\database\dbdata -U postgres -W -E UTF8 -A md5

提交回复
热议问题