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

Can not copy user on Percona Server 5.7 #13726

Closed
juokelis opened this issue Oct 10, 2017 · 12 comments
Closed

Can not copy user on Percona Server 5.7 #13726

juokelis opened this issue Oct 10, 2017 · 12 comments
Assignees
Labels
Bug A problem or regression with an existing feature
Projects
Milestone

Comments

@juokelis
Copy link

Steps to reproduce

  1. Go to user list
  2. Choose "Edit privileges" for any user
  3. Choose "login information"
  4. Enter new host for user. Leave "keep old". Go.

Expected behaviour

New user should be created with a set of same privileges.

Actual behaviour

An error is displayed "; #1065 - Query was empty".
Although new user is created, just without password without any privileges.

image

Server configuration

Operating system: Debian 8.3

Web server: Nginx 1.8.1-1~dotdeb+8.1

Database: 5.7.19-17-log - Percona Server (GPL), Release '17', Revision 'e19a6b7b73f'

PHP version: 5.6.17-0+deb8u1

phpMyAdmin version: 4.7.4 and 4.8.0-dev

image

Client configuration

Browser: Google Chrome Version 61.0.3163.100 (Official Build) (64-bit)

Operating system: MicroSoft Windows 10 Pro Version 1703 OS Build 15063.608

@nijel nijel added the Bug A problem or regression with an existing feature label Oct 10, 2017
@williamdes williamdes added this to To be sorted in issues May 2, 2019
@williamdes
Copy link
Member

@juokelis I can not reproduce this issue, can you help ?

@williamdes williamdes added the question Used when we need feedback from the submitter or when the issue is a question about PMA label May 2, 2019
@williamdes williamdes moved this from To be sorted to Not reproduced in issues May 2, 2019
@juokelis
Copy link
Author

juokelis commented May 3, 2019

Hi, I still have while doing same steps on 4.8.5. Percona Server version 5.7.19, PHP version 7.2.13
image
How can I help you reproduce ?

@juokelis
Copy link
Author

juokelis commented May 3, 2019

Just checked on clean installation, with default config. Still the same on Percona 5.7, But works without issues on MySQL 5.5. Could be and particular server. Testing further.

@williamdes
Copy link
Member

@juokelis Thanks for the debugging, I will have a try soon!

@williamdes williamdes self-assigned this May 3, 2019
@williamdes
Copy link
Member

@juokelis Reproduced on Percona Server 5.7.25-28 - Percona Server (GPL), Release 28, Revision c335905

@williamdes williamdes moved this from Not reproduced to High priority in issues May 4, 2019
@williamdes williamdes removed the question Used when we need feedback from the submitter or when the issue is a question about PMA label May 4, 2019
@williamdes
Copy link
Member

Until I fix this issue, you can click once more on 'Go' and it will execute sucessfully.

@williamdes williamdes changed the title Can not copy user Can not copy user on Percona Server 5.7 May 4, 2019
@williamdes williamdes added this to the 4.8.6 milestone May 4, 2019
@williamdes williamdes moved this from High priority to Closed in issues May 4, 2019
@juokelis
Copy link
Author

juokelis commented May 4, 2019

Actually it executes first time too. Without passowrd and any database or table, column permissions. After second time database, table, colums permissions is copied, but still not password.
Less work to copy only password though, thanks for that :)

@williamdes
Copy link
Member

williamdes commented May 4, 2019

@juokelis can you apply my patch 49874c4 that will be included on the next version of phpMyAdmin ?

@williamdes williamdes moved this from Closed to High priority in issues May 4, 2019
@juokelis
Copy link
Author

juokelis commented May 4, 2019

It does not give error. Does not copy password though on Percona 5.7. Does copy everything (and password) on MySQL 5.5.
image

@williamdes
Copy link
Member

@juokelis Okay, thanks for reporting, fixing that now ;)

williamdes added a commit to williamdes/phpmyadmintest that referenced this issue May 4, 2019
…ord copy)

Fixes: phpmyadmin#13726
Signed-off-by: William Desportes <williamdes@wdes.fr>
@williamdes
Copy link
Member

@juokelis Fixed by 3027f0e
Can you confirm ?

@williamdes williamdes moved this from High priority to Closed in issues May 4, 2019
@juokelis
Copy link
Author

juokelis commented May 4, 2019

Yes I can! Thank you very much! :)

williamdes added a commit that referenced this issue May 4, 2019
[ci skip]
Signed-off-by: William Desportes <williamdes@wdes.fr>
@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
Bug A problem or regression with an existing feature
Projects
issues
  
Closed
Development

No branches or pull requests

3 participants