PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, January 23, 2022

[FIXED] MYSQL phpmyadmin Error updating / adding User Accounts

 January 23, 2022     mariadb, mysql, phpmyadmin, synology     No comments   

Issue

First apologies in advance if this is not appropriate, this is the first question from a long time fan!

I'm using phpMyAdmin When I try and update an existing user account, or create a new one I get this error message

enter image description here

When click through to edit the SQL this is the statement it is trying to run:

SHOW PLUGINS SONAME LIKE '%_password_check%'

I'm running MariaDB 5.5.52-0069 on a synology box. All stock. I used to be able to update user accounts etc, so I think I started getting the error messages when Synology updated PHP 5.6.28-0036 and phpMyAdmin (within a few minutes of each other) on 6-Dec-16. Details of the server follow:

enter image description here

I'm sure I'm missing a bunch of relevant information, but I don't know enough to know what I could be missing.

1:


Solution

Seems like it's phpMyAdmin's issue.

Work directly with mysql:

Find Your user in list:

SELECT * FROM mysql.user WHERE User = 'username';

Then if exist:

DELETE FROM mysql.user WHERE User = 'username';

Then create user:

GRANT ALL ON database_name_here.* TO 'username'@'127.0.0.1' IDENTIFIED BY 'new_password';
GRANT ALL ON database_name_here.* TO 'username'@'localhost' IDENTIFIED BY 'new_password';
FLUSH PRIVILEGES;


Answered By - num8er
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing