I accidentally deleted the root user on my local dev setup of MAMP/MySQL running on OS X. There are no other users created to get back into MySQL.
Thi
I did exactly the same thing yesterday, being new to macs and the sql server. I accidentally deleted the root user because I pressed the wrong button in Privileges whilst trying to set up a new user and password.
I did not have any work of any use on this computer so was not worried about deleting my websites.
I now have access to phpMyAdmin through the link on the startup page once MAMP is booted.