More helpful for beginner guide to setup database(MySQL, PostgreSQL)

Added by Yuya Kitazono over 5 years ago

In the following part, both MySQL and PostgreSQL thought that it is kind for beginners that there is a way to log in to the database.

for example

$ psql
postgres=# CREATE ROLE redmine LOGIN ENCRYPTED PASSWORD 'my_password' NOINHERIT VALID UNTIL 'infinity';
postgres=# CREATE DATABASE redmine WITH ENCODING='UTF8' OWNER=redmine;