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

Monday, February 14, 2022

[FIXED] phpMyAdmin huge mistake - I deleted unused users and databases associated with them, how to restore

 February 14, 2022     mamp, phpmyadmin     No comments   

Issue

I don't care about restoring the databases or the users. The issue is really how can i create a new database using phpMyAdmin. I'm using MAMP and was creating a database and decided to delete users that are not being used anymore and in the process checked the box that said delete databases associated with these users, which deleted all of the databases.

Now i can't create a new database in phpMyAdmin because i get this huge error:

Error i get when accessing phpMyAdmin

So does this mean i ruined my MAMP and/or phpMyAdmin? Otherwise anyone have any possible solutions to remedy the problem?

Thanks.


Solution

PhpMyAdmin also uses the root account in your case. When this account is deleted from the tables you can't login via PhpMyAdmin anymore. Luckily there are numerous procedures for restoring the root account here and here

When the you've restored the user and entered the credentials in the PhpMyAdmin files you can login again and create databases.



Answered By - chrisblomm
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home
View mobile version

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