mirror of
https://github.com/vrana/adminer.git
synced 2025-08-06 14:46:36 +02:00
Updated Enable sqlite3 (markdown)
@@ -31,7 +31,7 @@ function adminer_object()
|
||||
// ]),
|
||||
|
||||
// allow sqlite with login-sqlite plugin and selecting sqlite3 server type and put full path to sqlite database file in database field.
|
||||
new AdminerLoginSqlite(),
|
||||
new AdminerLoginSqlite("sladmin", password_hash("mypassword", PASSWORD_DEFAULT)),
|
||||
|
||||
];
|
||||
|
||||
@@ -46,21 +46,20 @@ include "./adminer.php";
|
||||
Get this file in place it in `plugins/`
|
||||
`https://raw.github.com/vrana/adminer/master/plugins/login-sqlite.php`
|
||||
|
||||
Edit this line
|
||||
|
||||
`if (DRIVER != "sqlite" && DRIVER != "sqlite2") {`
|
||||
|
||||
to be
|
||||
|
||||
`if (DRIVER != "sqlite3" && DRIVER != "sqlite2") {`
|
||||
|
||||
## Select sqlite3 in the system field.
|
||||
|
||||
Select sqlite3.
|
||||
|
||||
## Fill in the Database field
|
||||
## Fill in the login fields
|
||||
|
||||
Enter the full path to the sqlite file and press the login button.
|
||||
Using the username/password in the index.php above.
|
||||
|
||||
* username: `sladmin`
|
||||
* password: `mypassword`
|
||||
* database: Enter the full path to the sqlite file . eg: `/srv/web/lpa346/db/development.sqlite3`
|
||||
|
||||
Press the login button
|
||||
|
||||
## Done
|
||||
You can now use adminer on that file.
|
||||
|
Reference in New Issue
Block a user