Phpmyadmin: "No database selected" - DROP a view

Created on 16 Aug 2018  Â·  3Comments  Â·  Source: phpmyadmin/phpmyadmin

Steps to reproduce

  1. Create a view (CREATE VIEW test1 AS (SELECT 1))
  2. Try to DROP using GUI

Expected behaviour

Drop the view, like when using SQL.

Actual behaviour

Error : "No database selected"
Screenshot :
No database selected

Affects QA_4_8 and 5.0.0-dev

bug has-pr

All 3 comments

Issue starts on 4.8.2 , 4.8.1 is not affected.
Someone can investigate ?

My testing shows that this began between 4.8.0 and 4.8.1, and that c6dd6b56e236a3aff953cee4135ecaa67130e641 is the first bad commit.

I also get the same error when clicking "Create view" from the bottom of query results.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ChrisHSandN picture ChrisHSandN  Â·  3Comments

mauriciofauth picture mauriciofauth  Â·  3Comments

fliespl picture fliespl  Â·  3Comments

ChrisHSandN picture ChrisHSandN  Â·  3Comments

AlexeyKosov picture AlexeyKosov  Â·  3Comments