I have upgraded my MySql Server from 5.5 version to 5.7 version. While using 5.5 version, I could connect via mysql -u #user -p#pass command in terminal or using Sequel Pro (management system).
I have upgraded version by:
$ wget http://dev.mysql.com/get/mysql-apt-config_0.6.0-1_all.deb
$ sudo dpkg -i mysql-apt-config_0.6.0-1_all.deb
$ sudo apt-get update && sudo apt-get install mysql-server
Now at 5.7 version I can still log in into MySql with root user using terminal (same settings as one on 5.5 version), but Sequel Pro refuses to connect with error:
Unable to connect to host 127.0.0.1, or the request timed out.
Be sure that the address is correct and that you have the necessary privileges, or try increasing the connection timeout (currently 10 seconds).
MySQL said: Lost connection to MySQL server at 'reading initial communication packet', system error: 0
I got debian under vagrant on mac os.