[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request - Drop and Empty should display Database name prominently. #13140

Closed
Arlen22 opened this issue Mar 31, 2017 · 5 comments
Closed
Assignees
Labels
enhancement A feature request for improving phpMyAdmin newbie ui Issues relating to the user interface
Milestone

Comments

@Arlen22
Copy link
Arlen22 commented Mar 31, 2017

I just emptied my production database instead of my test database I was working on (fortunately the test was not very different from production). Needless to say I will be more careful in the future, but I thought this would be a very easy feature to add and would help a lot to tell you very obviously what database you are operating on.

Steps to reproduce

  1. Click "Empty" or "Drop" on any table

Expected behaviour

System should say Are you sure you want to do this on "Database X"?

Actual behaviour

System says Are you sure you want to do this?

Server configuration

Database server

Server: Localhost via UNIX socket
Server type: MySQL
Server version: 5.7.17-0ubuntu0.16.04.1 - (Ubuntu)
Protocol version: 10
User: protocolapp@localhost
Server charset: UTF-8 Unicode (utf8)
Web server

Apache/2.4.18 (Ubuntu)
Database client version: libmysql - mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
PHP extension: mysqliDocumentation mbstringDocumentation
PHP version: 7.0.15-0ubuntu0.16.04.4
phpMyAdmin

Version information: 4.6.6 , latest stable version: 4.7.0

@sunnybatabyal
Copy link
Contributor

It Is showing this for me
pma_empty_table_screenshot

@Arlen22
Copy link
Author
Arlen22 commented Mar 31, 2017

Yes, but it is not telling you which database it is going to happen on. I would like it to say Do you really want to execute "TRUNCATE 'clients'" on database "wbhc_ghit_5".

@sunnybatabyal
Copy link
Contributor

Okay, got your point.
That can be an enhancement (may be)

@nijel
Copy link
Contributor
nijel commented Apr 4, 2017

The question is whether you would have read the confirmation to notice that :-).

But yes, including the database name in the popup makes sense.

@nijel nijel added enhancement A feature request for improving phpMyAdmin newbie ui Issues relating to the user interface labels Apr 4, 2017
@Arlen22
Copy link
Author
Arlen22 commented Apr 4, 2017

Well, when it is right on the popup, and right next to the OK button, you are much more likely to notice it than at the top of the window where it already is (showing which database you're currently operating on).

@nijel nijel self-assigned this Apr 28, 2017
@nijel nijel added this to the 4.8.0 milestone Apr 28, 2017
@nijel nijel closed this as completed in d6d9d2e Apr 28, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement A feature request for improving phpMyAdmin newbie ui Issues relating to the user interface
Projects
None yet
Development

No branches or pull requests

3 participants