Windows10 64位 安装 Postgresql 数据库

 

1,下载Postgresql 10.7 版本,下载地址   https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

 

Windows10 64位 安装 Postgresql 数据库

 

2,打开安装包,傻瓜式默认安装,请谨记 “数据库密码” 和 “端口号” ,安装完成后,打开任务管理器,打开任务,看到postgresql服务存在,并启动,说明安装成功!

Windows10 64位 安装 Postgresql 数据库

 

3,命令控制台cmd跳转到postgresql的安装目录 ,执行命令,输入数据库密码

c:

cd C:\Program Files\PostgreSQL\10\bin psql -p 5433 -U postgres -d postgres # psql -p 端口号 -U 用户名(默认为postgres) -d 数据库名(默认为postgres)

 出现如下界面则已经成功连接到数据库

Windows10 64位 安装 Postgresql 数据库

 

c:

cd C:\Program Files\PostgreSQL\10\bin

psql --version # 查看数据库版本号

 

posted @ 2019-02-21 17:16 luyanjie 阅读(...) 评论(...) 编辑 收藏

相关文章:

  • 2021-09-22
  • 2021-09-02
  • 2021-07-09
  • 2021-07-05
  • 2021-11-29
  • 2021-12-02
  • 2022-12-23
猜你喜欢
  • 2021-10-31
  • 2021-05-10
  • 2021-10-15
  • 2021-11-29
  • 2021-09-26
  • 2022-12-23
相关资源
相似解决方案