How do I extend Adminer to support SQLite databases with login?

Viewed 5102

I am running a server which hosts both a MySQL instance (with several databases) and some SQLite files. I would like to use Adminer to manage all of them, provided that valid credentials are given by the users. Also, a list of databases should be populated.

In case of MySQL, valid database users can be used and the connection works out of the box. However, SQLite support must be added explicitly. Adminer gives this error:

Implement login() method to use SQLite.
  • How do I extend the Adminer class to enable SQLite login?
  • What should I do to fill a list of valid databases?
1 Answers
Related