Lines 20-27
Link Here
|
20 |
[% IF ( checkgrantaccess ) %] |
20 |
[% IF ( checkgrantaccess ) %] |
21 |
<p>User <code>[% user %]</code> has all required privileges on database <code>[% dbname %]</code>.</p> |
21 |
<p>User <code>[% user %]</code> has all required privileges on database <code>[% dbname %]</code>.</p> |
22 |
[% ELSE %] |
22 |
[% ELSE %] |
23 |
<p class="error">user <code>[% user %]</code> doesn't have enough privilege on database <code>[% dbname %]</code> </p> |
23 |
<p class="error">user <code>[% user %]</code> doesn't have enough privilege on database <code>[% dbname %]</code></p> |
24 |
<p class="tip"> Ask for or make a change in the user's privileges. Need help? See [% IF ( mysql ) %]<a href=http://dev.mysql.com/doc/refman/4.1/en/grant.html>[% ELSE %]http://www.postgresql.org/docs/8.2/interactive/sql-createrole.html[% END %]this page</a>. User <code>[% user %]</code> must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on <code>[% dbname %]</code></p> |
24 |
<p class="tip">Ask for or make a change in the user's privileges. Need help? See |
|
|
25 |
[% IF dbms == 'mysql' %]<a href="https://dev.mysql.com/doc/refman/5.5/en/grant.html"> |
26 |
[% ELSE %]<a href="http://www.postgresql.org/docs/8.2/interactive/sql-createrole.html"> |
27 |
[% END %]this page</a>. |
28 |
</p> |
29 |
<p class="tip"> |
30 |
User <code>[% user %]</code> must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on <code>[% dbname %]</code> |
31 |
</p> |
25 |
[% END %] |
32 |
[% END %] |
26 |
[% ELSE %] |
33 |
[% ELSE %] |
27 |
<p class="error">No database named <code>[% dbname %]</code> detected.</p> |
34 |
<p class="error">No database named <code>[% dbname %]</code> detected.</p> |
28 |
- |
|
|