Mamp Pro Restore root user / delete

Hello in Mamp Pro I accidentally deleted the root account, so now I can not use mysql to create new databases and all other operations.

This is the error I get when starting mysql through mamp pro:

MySQL database error checking Error message: / Applications / MAMP / Library / bin / mysqlcheck: received error: 1044: access denied for user 'root' @ 'localhost' to database 'mysql' when choosing database

I tried to set reset to factory, but that did not help.

Mostly in the user review in Phpmyadmin, I just get a yellow box that says “No privileges”.

I also tried uninstalling Mamp Pro, but when I check the deletion flags and delete the deletion, I get the following error:

Error Failed to perform privileged action.

Help would really be appreciated since I cannot do such a job.

+5
source share
1 answer

MAMP obviously creates some configuration files that cannot be removed using the uninstaller. I managed to get around the error The privileged action failedand completely remove MAMP Pro by following these steps:

  • Remove the directory appsolutefrom /Library/Application Supportthat contains the configuration files created during the installation of MAMP Pro.
  • Delete the file hosts.mamp.bakin /etcwhich is the MAMP hosts backup file
  • Delete the MAMP directory with /Applications/MAMP
  • Open MAMP Pro Uninstaller, check all five options and click to remove

MAMP/MAMP Pro . , , Apache .

+15

All Articles