phpmyadmin / phpmyadmin/phpmyadmin
hide_db seems to not work
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 7.9k
- Forks
- 3.6k
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 36
Description
The hide_db configuration directive seems to have no effect.
I have set $cfg['Servers'][$i]['hide_db'] = 'sakila'; and yet I still see the sakila database listed in the navigation pane. I've also tried $cfg['Servers'][$i]['hide_db'] = '^(sakila|gis)$'; again with no luck.
I've tested with MariaDB 10.3 and MySQL 8.0, and phpMyAdmin 4.9.1 and 5.1.0-dev from master.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the hide_db configuration directive is applied to the navigation pane, reproducing the issue with the sakila value and the provided regular expression. Done means the sakila database is omitted from the navigation pane for the reported MariaDB and MySQL configurations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- mariadb, mysql, php
- Domain
- databases
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100