I accidentally removed access permissions of database mysql to the root user.
I'm now not able to create new databases, set permissions, etc.
What can I do to gain access again?
This will result in interruption of service. Update the init file to contain the commands necessary to re-create the root user. The procedure is documented here:
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
4 years ago