By mistake I deleted the user 'admin' from the MySQL. I created a new one with the same permissions and password but it doesn't work.
Every time I use the command '-wp' to create a new Wordpress returns the following error:
ERROR 1044 (42000) at line 3: Access denied for user 'admin'@'localhost' to database 'test_com'
[Error]: Database configuration failed.
How can I reset the user 'admin'?