Cannot connect to mysql because there are no users

I mistakenly deleted all users for mysql ... therefore, I cannot connect to mysql.
Does anyone have an idea?
I tried to reinstall it, but it did not work ...

PS: I'm on Archlinux.
Thanks in advance!

+5
source share
1 answer

This should help:

http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix

In your case, you will change the initialization file to GRANT for the new user.

+2
source

All Articles