Skip to content

does not set a GRANT at the database level for a database user #19605

@logger55

Description

@logger55

hello!
in MySQL 8

does not set a GRANT at the database level for a database user
when assigning privileges GRANT то database user at the database level
the installation request GRANT is completed - but the checkbox GRANT becomes inactive

phpMyadmin make sql reguest
REVOKE ALL PRIVILEGES ON phpmyadmin.* FROM 'new1'@'localhost'; GRANT ALL PRIVILEGES ON phpmyadmin.* TO 'new1'@'localhost'; ALTER USER 'new1'@'localhost' ;

and if you do it manually like this - then there are no problems

mysql -Bse "GRANT ALL PRIVILEGES ON \"$database"`.* TO '"$database"'@'localhost' WITH GRANT OPTION;"`

ubuntu22
MySQL 8.0.41-0ubuntu0.22.04.1
PHP: 8.1.2-1ubuntu2.20
phpMyadmin 5.1.1deb5ubuntu1

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions