Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

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

$
0
0
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?

Viewing all articles
Browse latest Browse all 1451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>