sudo -u postgres psql create database mydb; create user myuser with encrypted password 'mypass'; grant all privileges on database mydb to myuser;
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter