I really thought I could do this until I tried. I installed the MySQL server on one PC in the local network IP address (192.168.1.4), and now I'm trying to access it from another computer on the same network (192.168.1.5), but I can not:
C:\Users\DOMICO>mysql -u domico -h 192.168.1.4 -p
Enter password: **********
ERROR 1045 (28000): Access denied for user 'domico'@'DOMICO-PC' (using password:
YES)
Surprisingly, the DOMICO-PC is the computer from which I am trying to connect. Why is it not connecting to this host, but trying to connect to the local machine?
source
share