0
点赞
收藏
分享

微信扫一扫

安装pg

罗子僧 2023-06-18 阅读 15

initdb.exe -D "D:\Program Files\pgsql\data" -E UTF-8 --locale=chs -U postgres -W

 

pg_ctl.exe -D "D:\Program Files\pgsql\data" start

 

psql -U postgres

create user 你的账号 with password '密码';

GRANT ALL PRIVILEGES ON DATABASE postgres to 你的账号;

ALTER ROLE 你的账号 WITH SUPERUSER;

因为相信,所以看见.



举报

相关推荐

0 条评论