title: How to install python-mysqldb for Python 2.7 in Ubuntu 20.04 (Focal Fossa)?
body: <p>I've tried &quot;apt-get install python-mysqldb&quot; which results in:</p>
  <pre><code>root@ps1svr:~# apt-get install python-mysqldb
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  Package python-mysqldb is not available, but is referred to by another package.
  This may mean that the package is missing, has been obsoleted, or
  is only available from another source
  
  E: Package 'python-mysqldb' has no installation candidate
  </code></pre>
  <p>Note: &quot;apt-get install python3-mysqldb&quot; works, however I have a lot of code written for Python 2.x which no longer runs, and this is causing enough problems that I'm probably going to have to reinstall Ubuntu 18.04</p>