- For any project where a database is required - it's very important to have possibility to see the database data, to debug the app.
- If the app is used on a remote server host, and the database is getting bigger and bigger - it's not comfortable to see file-based SQLite database, as file copying is needed any time when changed data.
- Server database like MySQL, MariaDB can be explored by web-db-managment tools, like "phpMyAdmin", that requires to have a web-server and PHP installed, configured, db user rights and user privileges done...
- MySQL needs JDBC driver connector with connections pool, DButils with extra settings and such network connection may be broken any time. Security question is also here...
And now it's stable fast working, visible via a web-browser and does not need to setup many things...if to know all these on time.
Attached the PHP-script set:
- index.php - Adminer tool, latest version 4.8.1 (can be updated from the project web-site), used for access to MySQL or other web-base databases, with known host, db-name, login and password
- sqlite.php - script, where you need to setup the path to your SQLite db file and the password (with any login name), and use it for access to your server's SQLite database file
- other 2 files are dependencies of Adminer
Attachments
Last edited: