sudo su - postgres
psql
CREATE USER wwwuser WITH PASSWORD 'password';
CREATE DATABASE wwwuser OWNER wwwuser;
GRANT ALL PRIVILEGES ON DATABASE wwwuser to wwwuser;
Last active
July 1, 2016 09:18
-
-
Save bastengao/4fbdaf49541a20a76ca5e1eb560a1962 to your computer and use it in GitHub Desktop.
Init postgresql user
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment