Access from Remote Systems
$ mysql -h 192.168.1.8 -u root -p
Enter password:
You have to set up the remote access first:
$ mysql -u root -p
Enter password:
mysql> use mysql
mysql> GRANT ALL ON *.* to root@'192.168.1.4' IDENTIFIED BY 'your-root-password';
mysql> FLUSH PRIVILEGES;