title: Can't install mysql on pure ubuntu 20.04
body: <p>I just installed WSL Ubuntu 20.04 and the first thing I've done is  </p>
  
  <pre><code> sudo apt-get update
   sudo apt-get upgrade
   sudo apt-get install mysql-server
  </code></pre>
  
  <p>and here what it gave me </p>
  
  <pre><code>Setting up mysql-server-8.0 (8.0.20-0ubuntu0.20.04.1) ...
  invoke-rc.d: could not determine current runlevel
   * Stopping MySQL database server mysqld                                                                                                                         [ OK ]
  update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
  Renaming removed key_buffer and myisam-recover options (if present)
  Cannot open /proc/net/unix: No such file or directory
  Cannot stat file /proc/1/fd/5: Operation not permitted
  Cannot stat file /proc/1/fd/10: Operation not permitted
  Cannot stat file /proc/1/fd/6: Operation not permitted
  Cannot stat file /proc/42/fd/7: Operation not permitted
  Cannot stat file /proc/42/fd/10: Operation not permitted
  Cannot stat file /proc/42/fd/5: Operation not permitted
  mysqld will log errors to /var/log/mysql/error.log
  mysqld is running as pid 3726
  sleep: cannot read realtime clock: Invalid argument
  dpkg: error processing package mysql-server-8.0 (--configure):
   installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
  </code></pre>
  
  <p>and </p>
  
  <p>dpkg: dependency problems prevent configuration of mysql-server:</p>
  
  <pre><code> mysql-server depends on mysql-server-8.0; however:
    Package mysql-server-8.0 is not configured yet.
  
      dpkg: error processing package mysql-server (--configure):
       dependency problems - leaving unconfigured
      Setting up libcgi-pm-perl (4.46-1) ...
      No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                                Setting up libhtml-template-perl (2.97-1) ...
      Setting up libcgi-fast-perl (1:2.15-1) ...
      Processing triggers for systemd (245.4-4ubuntu3.1) ...
      Processing triggers for man-db (2.9.1-1) ...
      Processing triggers for libc-bin (2.31-0ubuntu9) ...
      Errors were encountered while processing:
       mysql-server-8.0
       mysql-server
      E: Sub-process /usr/bin/dpkg returned an error code (1)
  </code></pre>
  
  <p>then I tried <code>sudo mysql_secure_installation</code></p>
  
  <p><code>Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)</code></p>
  
  <p>And this is not only on WSL. </p>