postgresql user permissions to database
sudo -u postgres
psqlpostgres=# create database mydb;
postgres=# create user myuser with encrypted password 'mypass';
postgres=# grant all privileges on database mydb to myuser;sudo -u postgres psqlpostgres=# create database mydb;postgres=# create user myuser with encrypted password 'mypass';postgres=# grant all privileges on database mydb to myuser;
Also in C++:
- how to restore corrupeted git file
- git error push declined due to email privacy restrictions
- diff between user variables and system variables
- how to untar tar.gz
- install typescript in gatsby
- isxdigit lib
- kubernetes get namespace
- git remove tracked files without deleting
- update vs code in ubuntu
- pythonlibs install
- laravel install production
- how to install postman in ubuntu
- create a file with text in linux
- cleaning up your ubuntu system
- how to execute docker command in shell script
- install program archlinux
- rsync ssh
- pull from a brrrnch in git
- anaconda for ubuntu 20.04
- delete git branch
- pyinstaller dmg on mac
- sudo apt install openjdk-14-jdk
- installing r on ubuntu 16.04
- spotify download ubuntu