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

phpmyadmin 5.0.X cannot copy user account - error #1133 #15767

Closed
krzndb opened this issue Jan 9, 2020 · 3 comments
Closed

phpmyadmin 5.0.X cannot copy user account - error #1133 #15767

krzndb opened this issue Jan 9, 2020 · 3 comments
Assignees
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete help wanted
Projects
Milestone

Comments

@krzndb
Copy link

krzndb commented Jan 9, 2020

Describe the bug

When i try to copy an existing user account a new user is not created and i get the error message #1133 - Can't find any matching row in the user table.

To Reproduce

Steps to reproduce the behavior:

  1. Go to 'User accounts'
  2. Click on 'Edit Privileges' of an existing user
  3. Change tab to 'Login Information'
  4. Edit User Name to a different Username.
  5. Click on 'Go' to create a new user account with the same privileges.
  6. See error Bug Fix: #4356 GROUPed selects show number of rows as if not grouped. #1133

Expected behavior

In version 4.9.4 the feature created a new Useraccount with identical privileges.

Server configuration

  • Operating system: Ubuntu 18.04
  • Web server: Apache 2
  • Database version: MariaDB 10.2, 10.4 / MySQL 5.7
  • PHP version: php7.2
  • phpMyAdmin version: 5.0.X

Client configuration

  • Browser: Firefox 71 / Chrome 77
  • Operating system: Ubuntu 18.04

Additional context

It looks like the new user is not created and phpmyadmin tries to grant the privileges to the new user but cannot find this user in the usertable of mariadb/mysql. That's why the error #1133 is displayed.
This used to work in every version before 5.0.X. We copied the existing config.inc.php from version 4.9.4 to 5.0.X.

@williamdes williamdes added Bug A problem or regression with an existing feature help wanted labels Jan 9, 2020
@williamdes williamdes added this to Needs triage in issues via automation Jan 9, 2020
@yashrajbothra
Copy link
Contributor

Hello @williamdes i can try to fix this. Which branch should i use?

@williamdes
Copy link
Member

@yashrajbothra Yes you can try, use QA_5_0 for this one

yashrajbothra added a commit to yashrajbothra/phpmyadmin that referenced this issue Jan 10, 2020
Signed-off-by: Yash Bothra <yashrajbothra786@gmail.com>
@williamdes williamdes moved this from Needs triage to High priority in issues Jan 10, 2020
@williamdes williamdes added the has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete label Jan 10, 2020
@williamdes williamdes added this to the 5.0.2 milestone Jan 10, 2020
@williamdes williamdes self-assigned this Jan 10, 2020
williamdes added a commit that referenced this issue Jan 10, 2020
Signed-off-by: William Desportes <williamdes@wdes.fr>
issues automation moved this from High priority to Closed Jan 10, 2020
@williamdes
Copy link
Member

Thank you for the report, the fix will be part of 5.0.2

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A problem or regression with an existing feature has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete help wanted
Projects
issues
  
Closed
Development

No branches or pull requests

3 participants