551838 (2) [Avatar] Offline
#1
I am unable to connect to mysql from the command line. MySQl version

mysql --version
mysql Ver 14.14 Distrib 5.7.19, for osx10.12 (x86_64) using EditLine wrapper

I use
mysql -u user-here --password=password-here -h 104.196.23.32 (changing user, password and ip)


I get:

ERROR 2003 (HY000): Can't connect to MySQL server on 'ip-here'

Using the ip given where it says Connect to this instance ipv4 address: '......'