Skip to content

Commit 8565737

Browse files
author
Gaetano Giunta
committed
WIP adminer integration
1 parent 486830b commit 8565737

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ Broad advancement status:
1414
- command-line interface to execute SQL snippets on multiple databases and compare results: mostly done.
1515
Major missing features: proper support for character sets
1616
- database support: good coverage. Of the 'well-known players', only Oracle is missing
17-
- GUI interface: only displays documentation
17+
- GUI interface: displays documentation and the list of databases. It also includes Adminer for db management, but
18+
does not allow parallel execution of queries
1819

1920
See the [TODO](./doc/TODO.md) and [CHANGELOG](./doc/WHATSNEW.md) files for more details on recent improvements and future plans.
2021

doc/TODO.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,18 @@
1919
+ add a logo
2020

2121
- admin(er) improvements:
22-
+ provide a pre-filled list of databases => sqllite not working
22+
+ sqllite not working in pre-filled list of databases (miss filename for root db)
2323
+ add sql log file
2424
+ add data dump capabilities
2525
+ add schema dump capabilities
26-
+ mssql not supported with pdo_sqlsrv ext
2726
+ add a composer post-upgrade script that downloads automatically the latest version or at least checks it
2827
+ add portainer.io; opcache control panel (reverse-proxying one from web)? (that and/or matthimatiker/opcache-bundle)
2928

3029
- worker: improve cli scripts
3130
+ add a separate sf console that only registers db3v4l commands
3231
+ either remove ./vendor/bin/doctrine-dbal or make it actually work
3332

34-
- worker+web: when listing instances, show the _real_ db version nr. (from a query, not config)
33+
- worker+web: when listing instances, show the _real_ db version nr. (from a query, not config => ses how Adminer does it)
3534

3635
- worker: improve profile of 'db3v4l' account
3736
+ esp: add APP_ENV and APP_DEBUG env vars (via bootstrap.sh ?)

doc/WHATSNEW.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ Version 0.7 (unreleased)
44
- New: allow to run sql snippets against existing databases (within the predefined db servers).
55
This allows scenarios where data is persisted between execution of different queries
66

7-
- New: began work on a web interface. For the moment, all it does is display some documentation
7+
- New: began work on a web interface. For the moment, all it does is display some documentation and the list of dbs
88

99
- Fixed: the app would not be set up automatically on 1st run of the container (introduced in 0.4)
1010

11+
- Improved: the bundled Adminer now comes with a pre-filled list of databases
12+
1113
- Improved: moved application to Symfony 4.4.1; upgraded phpmyadmin/sql-parser to 5.1.0
1214

1315

docker/images/admin/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ RUN echo 'export PATH=$PATH:/usr/lib/oracle/19.5/client64/bin' > /etc/profile.d/
7878

7979
### Tools not shared with worker
8080

81+
RUN ln -s /etc/php/7.3/mods-available/sqlsrv.ini /etc/php/7.3/fpm/conf.d/90-sqlsrv.ini
8182
RUN ln -s /etc/php/7.3/mods-available/pdo_sqlsrv.ini /etc/php/7.3/fpm/conf.d/90-pdo_sqlsrv.ini
8283
RUN ln -s /etc/php/7.3/mods-available/oci8.ini /etc/php/7.3/fpm/conf.d/90-oci8.ini
8384

0 commit comments

Comments
 (0)