Last active
April 3, 2024 20:30
-
-
Save iamphilrae/d538d5b48608de290bfee791df3e6f54 to your computer and use it in GitHub Desktop.
phpMyAdmin Export Filename Template, Including Date and Time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@DATABASE@__%Y-%m-%d_%H-%M-%S |
@JorgenBB Ahhhh, ok, that makes some sense, thank you.
It definitely is a strange decision, or perhaps just an oversight if they've never come across the issue themselves? It seems like a pretty easy thing to add, just getting the name of the db as it iterates through the list, and add it to a variable. I'm not much of a coder or I'd try submitting a PR myself. :/
@phpmyadmin team, please add this 'enhancement', I beeeegg you! QOL improvement to the n'th degree! :)
Thanks! ヾ(≧▽≦*)o
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
According to phpMyAdmin FAQ, @database@ refers to "the currently open database.
But since you are not "in" a database, it is not available.
Doesn't even work when you choose to export each database into its own file.
Weird, but that is phpMyAdmin's choice.