This might be due to insufficient permissions to access your MySQL database over the network. To confirm this we can try the below command to connect to MySQL database from Sqoop’s client machine.
XHTML
$ mysql --host=MySql node> --database=test --user= --password=