Access denied for user 'root'@'localhost' (using password: YES)
Posted by: Shannon Richards
Date: March 26, 2019 06:41AM

All: I am trying to scaffold am entity framework core dbcontext using the Pomelo provider for mysql. I keep getting the following error:

Access denied for user 'root'@'localhost' (using password: YES)

I've confirmed the user and password is correct via the MySql command line tool and can login there no problem. I am new to MySql so I'm not sure why this issue is happening. The dotnet cli command I'm executing is this:

dotnet ef dbcontext scaffold "server=localhost;database=moxi;user=root;pwd=xxxxx;" "Pomelo.EntityFrameworkCore.MySql" -o .\Models -f

I've been fighting with this for two days...any ideas?

Options: ReplyQuote


Subject
Written By
Posted
Access denied for user 'root'@'localhost' (using password: YES)
March 26, 2019 06:41AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.