The installation failure might have been due to:
[MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/var/run/mysqld/mysqlx.sock' failed, can't create lock file /var/run/mysqld/mysqlx.sock.lock'
In the past there have been reports that apparmor profile settings cause these kinds of errors (see for example https://serverfault.com/questions/751277/mysql-daemon-lock-issue), although your apparmor config looks ok to me (I'm no apparmor guru though).
The installation failure might have been due to:
[MY-011300] [Server] Plugin mysqlx reported: 'Setup of socket: '/var/run/ mysqld/ mysqlx. sock' failed, can't create lock file /var/run/ mysqld/ mysqlx. sock.lock'
In the past there have been reports that apparmor profile settings cause these kinds of errors (see for example https:/ /serverfault. com/questions/ 751277/ mysql-daemon- lock-issue), although your apparmor config looks ok to me (I'm no apparmor guru though).