mysql client gives no output when trying to connect to a remote DB I am trying to connect from a Raspbian shell to a remote MySQL database (Windows).

I freshly installed mysql-client and mysql-server (version 5.5.55) and now try following command:

mysql -v -h hostname -uroot -pmypass db_name

I get no response at all. Program does not exit or print anything just keeps hanging.

Connecting to a local DB works fine with mysql -uroot -pmypass.

I am quite confused why the client does not print anything even with the verbose option being set on.

Thanks!
Check your my.cnf settings.
Make sure the bind-address variable is commented or its value is 0.0.0.0

Make sure port 3306 (MySQL Default Port) is open (Both on the server and on the client).