bingo

The way to my programmer


ERROR: permission denied for relation admin
我用bingo用户登录数据库blog,报错permission denied for relation admin。
原因:bingo没有blog数据库操作的权限。
授权:(注意:需要进入到要操作的数据库里进行操作)

  1. postgres=# \c blog
  2. You are now connected to database "blog" as user "postgres".
  3. blog=# grant all on database blog to bingo;
  4. GRANT
  5. blog=# grant all privileges on all tables in schema public to bingo;
  6. GRANT


vim 基本命令备忘 springboot pageHelper 分页异常