Preparing to unpack .../mysql-client-8.0_8.0.25-0ubuntu0.20.04.1_amd64.deb ... Unpacking mysql-client-8.0 (8.0.25-0ubuntu0.20.04.1) over (8.0.23-0ubuntu0.20.04.1) ... Preparing to unpack .../mysql-server-8.0_8.0.25-0ubuntu0.20.04.1_amd64.deb ... Unpacking mysql-server-8.0 (8.0.25-0ubuntu0.20.04.1) over (8.0.23-0ubuntu0.20.04.1) ... Preparing to unpack .../mysql-server-core-8.0_8.0.25-0ubuntu0.20.04.1_amd64.deb ... Unpacking mysql-server-core-8.0 (8.0.25-0ubuntu0.20.04.1) over (8.0.23-0ubuntu0.20.04.1) ... Setting up mysql-server-core-8.0 (8.0.25-0ubuntu0.20.04.1) ... Setting up mysql-client-8.0 (8.0.25-0ubuntu0.20.04.1) ... Setting up mysql-server-8.0 (8.0.25-0ubuntu0.20.04.1) ... mysqld will log errors to /var/log/mysql/error.log mysqld is running as pid 9221 Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. ● mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since Sat 2021-05-15 17:33:40 IST; 5ms ago Process: 10888 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Process: 10896 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE) Main PID: 10896 (code=exited, status=1/FAILURE) Status: "Server startup in progress" Error: 13 (Permission denied) May 15 17:33:57 akanksha systemd[1]: Failed to start MySQL Community Server. May 15 17:33:57 akanksha systemd[1]: mysql.service: Scheduled restart job, restart counter is at 78. May 15 17:33:57 akanksha systemd[1]: Stopped MySQL Community Server. May 15 17:33:57 akanksha systemd[1]: Starting MySQL Community Server... May 15 17:34:20 akanksha systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE May 15 17:34:20 akanksha systemd[1]: mysql.service: Failed with result 'exit-code'. May 15 17:34:20 akanksha systemd[1]: Failed to start MySQL Community Server. May 15 17:34:20 akanksha systemd[1]: mysql.service: Scheduled restart job, restart counter is at 79. May 15 17:34:20 akanksha systemd[1]: Stopped MySQL Community Server. May 15 17:34:20 akanksha systemd[1]: Starting MySQL Community Server... May 15 17:34:34 akanksha systemd[1]: mysql.service: Main process exited, code=exited, status=1/FAILURE May 15 17:34:34 akanksha systemd[1]: mysql.service: Failed with result 'exit-code'. May 15 17:34:34 akanksha systemd[1]: Failed to start MySQL Community Server. May 15 17:34:34 akanksha systemd[1]: mysql.service: Scheduled restart job, restart counter is at 80. May 15 17:34:34 akanksha systemd[1]: Stopped MySQL Community Server. May 15 17:34:34 akanksha systemd[1]: Starting MySQL Community Server... dpkg: error processing package mysql-server-8.0 (--configure): installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1