## Readme

Moodle Adminer is based on the great tool adminer (www.adminer.org).
The main advantage of this plugin is, it can handle different types of database.
So it works with MySQL, PostgreSQL, Oracle and MSSQL.

Moodle Adminer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Moodle Adminer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You can receive a copy of the GNU General Public License
at <http:www.gnu.org/licenses/>.

### Installation:
To install Moodle Adminer just copy the folder "adminer" into your moodle/local/adminer.
After that you have to go to http://your-moodle/admin (Site administration -> Notifications) to trigger the installation process.

### Using:
To use Moodle Adminer go to "Site administration" -> "Server" -> "Moodle Adminer".

### Security note:
Due to the high security risk of using Adminer, an additional key can be defined in **config.php**.<br>
**Example:**<br>
`$CFG->local_adminer_secret = 'your-secret-key';`

If you want to fully disable Adminer, you can define "!!!" as Adminer secret.<br>
**Example:**<br>
`$CFG->local_adminer_secret = '!!!';`

### Different database user ###
You can also set a specific database user and password in **config.php**.<br>
**Example:**<br>
`$CFG->local_adminer_user = 'adminer';`<br>
`$CFG->local_adminer_password = 'adminerpwd';`
