>From your Log:
mysqld: Can't read dir of '/etc/mysql/conf.d/' (Errcode: 2 - No such file or 

This seems broken, in a clean installation this looks like;
root@a:~# ll /etc/mysql/conf.d/
total 16
drwxr-xr-x 2 root root 4096 Feb 28 12:02 ./
drwxr-xr-x 5 root root 4096 Mar 12 13:25 ../
-rw-r--r-- 1 root root    8 Jan 17  2017 mysql.cnf
-rw-r--r-- 1 root root   55 Jan 17  2017 mysqldump.cnf
root@a:~# dpkg -S /etc/mysql/conf.d/
mysql-common: /etc/mysql/conf.d

If you removed those manually this is a config you have to fix to get it 
installing again.
Ubuntu can't differ between an intentional config and a accidental delete in 
your case.

You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

  package mysql-server-5.7 5.7.21-0ubuntu0.17.10.1 failed to
  install/upgrade: el subproceso instalado el script post-installation
  devolvió el código de salida de error 1

To manage notifications about this bug go to:

ubuntu-bugs mailing list

Reply via email to