Using 127.0.0.1 fails when connecting to MySQL while using IP succeeds using VB.net -
When I am trying to connect to MySQL using 127.0.0.1, using vb.net The following error message is found:
User's 'Test' @ 'localhost' entry denied (using password: yes) "" User 'test' for user 'test' To use 'mysql_native_password', authentication '127.0.0.1'> However, when I replace 127.0.0.1 with IP address for the same machine, then Nekshn perfectly fine.
So to solve this problem, what settings need to be changed so that I can use 127.0.0.1?
Thanks in advance.
Each user is related to an IP, and permission is only possible to connect to this one User 'Test' is allowed to connect to 'IP'. And 'IP' does not necessarily translate '127.0.0.1', though this is the same machine.
For example, add the mysql command line (or similar to phpmyadmin):
User 'test'@'127.0.0.1' was identified by 'your_password' ;
Comments
Post a Comment