postgres installation the database cluster initial

2019-06-25 14:23发布

I can't install Postgresql. I've tried everything:

  • I run the setup as Administrator.
  • I create a postgresql user an I add it to the Administrator group.
  • I install it directly on C:\postgresql.

but without any success. for information: I have windows 8

7条回答
The star\"
2楼-- · 2019-06-25 14:51

Possible solution for 10.3. version:

  1. Download PostgreSQL installation file

  2. Move downloaded file to C:\ drive.
    Example: C:\postgresql-10.3-2-windows-x64.exe

  3. Create directory named PostgreSQL in C:\ drive

  4. Create directory named 10 in previously created PostgreSQL directory.
    So you need to have C:\PostgreSQL\10.

  5. Run C:\postgresql-10.3-2-windows-x64.exe (DO NOT CLICK ON 'RUN AS ADMIN', just double click)

  6. Change installation directory path to C:\PostgreSQL

  7. Change data directory path to C:\PostgreSQL\data

  8. Finish

Hopefully, installation should be successful.

查看更多
登录 后发表回答