c# - Access Denied Error for user 'root'@'***.***.***.***' -


error: dotnet mysql connection access denied user 'root'@'***.***.***.***'

i got error when use mysqlconnection connect mysql server. put in correct user name , password, , can use phpmyadmin log in server username , password.

also, there line root , % in privileges page. there else don't know make error?

better if show code.
try craete new user like:

create user 'test_user'@'localhost' identified 'some_pass'; 

then grant privileges on shop:

grant privileges on shop.* 'test_user'@'localhost'; 

try connect via user. may due privileges issue.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -