diff -r dd568f2909e3 -r 04fa36f93e3a install/index.php --- a/install/index.php Fri May 09 14:54:59 2008 +0000 +++ b/install/index.php Fri May 09 15:41:02 2008 +0000 @@ -1,5 +1,13 @@ "; - echo "
" . _('We have now updated the PowerDNS database to work with Poweradmin. You now want to give limited rights to Poweradmin so it can update the data in the tables. To do this, you should create a new user and give it rights to select, delete, insert and update records in the PowerDNS database.') . " "; - if ($db_type=='mysql') { - echo _('In MySQL you should now perform the following command:') . "
"; - echo "GRANT SELECT, INSERT, UPDATE, DELETE
ON powerdns-database.*
TO 'poweradmin-user'@'localhost'
IDENTIFIED BY 'poweradmin-password';
$ createuser poweradmin-user
" .
- "Shall the new role be a superuser? (y/n) n
" .
- "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
" .
- "$ psql powerdns-database
" .
- "psql> GRANT SELECT, INSERT, DELETE, UPDATE
" .
- "ON powerdns-database
" .
- "TO poweradmin-user;
" . _('After you have added the new user, proceed with this installation procedure.') . "
\n"; - echo ""; - break; - - case 5: - $step++; - $db_host = $_POST['host']; - $db_name = $_POST['name']; - $db_type = $_POST['type']; - echo "" . _('Now we will put together the configuration. To do so, the installer needs some details:') . "
\n"; + echo "" . _('Now we will gather all details for the configuration itself.') . "
\n"; echo "