# HG changeset patch # User rejo # Date 1210577771 0 # Node ID af604e6e1a71a359b3a787ab80be70d51c55e060 # Parent 04fa36f93e3a99dcaea8c6ed0ee4e5dcd0fc1e6d [feladat @ 263] Fixed create user example for PgSQL to have create a new user with a password. diff -r 04fa36f93e3a -r af604e6e1a71 install/index.php --- a/install/index.php Fri May 09 15:41:02 2008 +0000 +++ b/install/index.php Mon May 12 07:36:11 2008 +0000 @@ -202,8 +202,10 @@ echo "

GRANT SELECT, INSERT, UPDATE, DELETE
ON " . $db_name . ".*
TO '" . $db_user . "'@'" . $db_host . "'
IDENTIFIED BY '" . $db_pass . "';

"; } elseif ($db_type == 'pgsql') { echo _('On PgSQL you would use:') . "

"; - echo "

$ createuser " . $db_user . "
" . - "Shall the new role be a superuser? (y/n) n
" . + echo "

$ createuser -E -P " . $db_user . "
" . + "Enter password for new role: " . $db_pass . "
" . + "Enter it again: " . $db_pass . "
" . + "Shall the new role be a superuser? (y/n) n
" . A "Shall the new user be allowed to create databases? (y/n) n
" . "Shall the new user be allowed to create more new users? (y/n) n
" . "CREATE USER
" .