|
2 | 2 | A single page, ultra minimalist, read-only database table viewer. Written in PHP for MySQL / MariaDB databases.
|
3 | 3 |
|
4 | 4 | ## Description
|
5 |
| -Other database tools like Adminer / PHPMyAdmin are great for when you need control over your databases. But if you just need to view the contents of your databases, their UI can be a bit bulky for that. |
| 5 | +Other database tools like Adminer / PHPMyAdmin are great for when you need control over your databases. But if you just need to view the contents of your databases, their UI can be a bit bulky for that.\ |
6 | 6 | This interface is designed to use your whole viewing window for the actual contents of your databases.
|
7 | 7 |
|
8 | 8 | ## Usage
|
9 |
| -The welcome screen will display only a list of database is you have added. |
| 9 | +The welcome screen will display only a list of databases you have added. |
10 | 10 | To add a new database, hover your cursor at the bottom of the screen.
|
11 | 11 | - If hostname is left blank, it will default to localhost.
|
12 | 12 | - The 'private' toggle switch will set a cookie that makes that database only viewable to you. Otherwise anyone who visits this page can see it. This is denoted by a lock icon next to it in the database list.
|
13 |
| -Remove a database by clicking on it, then clicking the trash icon in the top right |
14 |
| - |
15 |
| -Click on a table name header to pull and display its contents below. |
16 |
| -Click on a column header to sort the table client-side. |
17 |
| -Right-click (long press on mobile) on a column header to have the database sort the table server-side. |
| 13 | +- Remove a database by clicking on it, then clicking the trash icon in the top right. |
| 14 | +Click on a table name header to pull and display that table below.\ |
| 15 | +Click on a table's column header to sort the table client-side.\ |
| 16 | +Right-click (long press on mobile) on a column header to have the database sort the table server-side.\ |
18 | 17 | Hover over the database name to see the user and hostname.
|
19 | 18 |
|
20 | 19 | The database credential cache is stored in /tmp/MyTableViewer and is readable (0600) only to your webserver user (e.g. www-data).
|
21 | 20 |
|
| 21 | +   |
| 22 | + |
22 | 23 | ### Releases
|
23 |
| -There are no releases since there is nothing to assemble. The code in the page is ready to go. If releases make it easier to download, I can create them, just let me know. |
| 24 | +There is no code to assemble, so the release is just [MyTableViewer.php](MyTableViewer.php) |
24 | 25 |
|
25 | 26 | ## Contributing
|
26 |
| -This is my first ever open source project, and I am not primarily a developer. You are very welcome to contribute, but please be patient while I get the hang of this. |
| 27 | +This is my first open source project, and I am not primarily a developer, so you are welcome to contribute, but please be patient while I get the hang of this.\ |
27 | 28 | The code is also as minimalistic as possible, so you should be able to easily make any changes that might be unique to your preference.
|
28 | 29 |
|
29 | 30 | ## License
|
|
0 commit comments