title: Error connecting to MySQL with Jupyter notebook
body: <p>Why is this code failling?</p>
  <pre class="lang-py prettyprint-override"><code>import mysql.connector as mysql
  
  db = mysql.connect(
      host = 'localhost',
      user = &quot;root&quot;,
      passwd='root'
  )
  </code></pre>
  <p>I'm running this code online, i.e., on binder.</p>
  <p>Whenever I try I get &quot;DatabaseError: 2003 (HY000): Can't connect to MySQL server on 'localhost' (99)&quot;.</p>
  <p>What could be the problem?</p>