I want to connect to mysql of a remote server, but always prompt to connect to local, failed?

  mysql, question

C:\Windows\system32>mysql -uroot -pstone123 -h192.168.1.220
ERROR 1045 (28000): Access denied for user ‘root’@’’ (using password: YES)

I want to connect, but I always connect This is my native ip. Using Heidisql and Mysql Workbench is the same prompt. Why?

It feels like mysql of rejected your connection request from You can modify the user table in mysql database to give external IP permissions.