I got the same error yesterday. I installed mariadb in the past, but forgot about this and then tried to use and install mysql. My solution was a complete uninstall of mysql and mariadb and a clean install of mariadb. Especially the fact that Gerardo tries to connect to a mysql server, but mysql-server-5.7 is not installed on his/her machine makes me think that mariadb might be involed, because I got equal error messages.
Maybe this is related to #1490071
my setup: ubuntu 16.04, amd64, mysql Ver 15.1 Distrib 10.0.29-MariaDB
I got the same error yesterday. I installed mariadb in the past, but forgot about this and then tried to use and install mysql. My solution was a complete uninstall of mysql and mariadb and a clean install of mariadb. Especially the fact that Gerardo tries to connect to a mysql server, but mysql-server-5.7 is not installed on his/her machine makes me think that mariadb might be involed, because I got equal error messages.
Maybe this is related to #1490071
my setup: ubuntu 16.04, amd64, mysql Ver 15.1 Distrib 10.0.29-MariaDB