mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
added --encoding=utf-8 to the db creation instructions for postgres
This commit is contained in:
parent
35484b2c10
commit
1ad800edd0
@ -218,7 +218,7 @@
|
|||||||
. lang('Create the empty database and grant user permissions -')
|
. lang('Create the empty database and grant user permissions -')
|
||||||
. "<br /><i>[postgres@server /var/lib/pgsql]\$ <b>createuser --no-adduser --no-createdb -P " . $info['db_user'] . "</b></i>"
|
. "<br /><i>[postgres@server /var/lib/pgsql]\$ <b>createuser --no-adduser --no-createdb -P " . $info['db_user'] . "</b></i>"
|
||||||
. "<br /><i>Enter password for new user: <b>" . $info['db_pass'] . "</b></i>"
|
. "<br /><i>Enter password for new user: <b>" . $info['db_pass'] . "</b></i>"
|
||||||
. "<br /><i>[postgres@server /var/lib/pgsql]\$ <b>createdb --owner " . $info['db_user'] . ' ' . $info['db_name'] . "</b></i>"
|
. "<br /><i>[postgres@server /var/lib/pgsql]\$ <b>createdb --encoding=utf-8 --owner " . $info['db_user'] . ' ' . $info['db_name'] . "</b></i>"
|
||||||
. '<br />'.lang('to allow password authentification add the following line to your pg_hba.conf (above all others) AND restart postgres:')
|
. '<br />'.lang('to allow password authentification add the following line to your pg_hba.conf (above all others) AND restart postgres:')
|
||||||
. '<br /><i># TYPE DATABASE USER CIDR-ADDRESS METHOD</i>'
|
. '<br /><i># TYPE DATABASE USER CIDR-ADDRESS METHOD</i>'
|
||||||
.($info['db_host'] ? "<br /><i><b>host $info[db_name] $info[db_user] $ip/32 password</b></i>" :
|
.($info['db_host'] ? "<br /><i><b>host $info[db_name] $info[db_user] $ip/32 password</b></i>" :
|
||||||
|
Loading…
Reference in New Issue
Block a user