Project

General

Profile

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

Added by Yuya Kitazono almost 6 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.

http://www.redmine.org/projects/redmine/wiki/RedmineInstall#Step-2-Create-an-empty-database-and-accompanying-user

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;