1. Open your mysql configuration on /etc/mysql/my.cnf

2. Look for : bind-address = 127.0.0.1 and adding # (#bind-address        = 127.0.0.1). and Restart your Mysql Service (/etc/init.d/mysql restart)

3. Install mysql client on ubuntu client with apt-get mysql-client command.

4. From terminal pleas type : mysql -h <mysql server host> -u <user> -p  Enter

5. Type your root password.

mysql> show databases;
+——————–+
| Database           |
+——————–+
| information_schema |
| dbimam             |
| dbimam1            |
+——————–+
3 rows in set (0.18 sec)

mysql>