I'm trying to accomplish this by editing the dump-date plugin as it seemed most likely, but I can't seem to find a variable that will grab the database name from that being exported. Could anyone give me a push? Right now I just get localhost plus date. Thanks.
Ok, I was confused. As long as I have selected the database first and then go to export then it works fine without modification. I was effectively selecting server export and then unchecking all but one database, so it was naming the file as if it was a server dump. This seems to be a nonissue, sorry.
Last edit: David Rahrer 2016-06-28
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm trying to accomplish this by editing the dump-date plugin as it seemed most likely, but I can't seem to find a variable that will grab the database name from that being exported. Could anyone give me a push? Right now I just get localhost plus date. Thanks.
Update:
Ok, I was confused. As long as I have selected the database first and then go to export then it works fine without modification. I was effectively selecting server export and then unchecking all but one database, so it was naming the file as if it was a server dump. This seems to be a nonissue, sorry.
Last edit: David Rahrer 2016-06-28
For posterity, Adminer stores the database name in the
DBconstant. It's also available in$_GET['db'].