title: My python code refuses to connect to my MySQL database file
body: <p>Please house I need help to connect my python code to my MySQL databse file. I am using a Windows 10 laptop. Please see my code below.</p>
  <pre><code>import pymysql
  db = pymysql.connect('localhost', 'root', 'mypassword', 'sale')
  </code></pre>
  <p>Just with the code above, it releases an error message that says:</p>
  <p>TypeError: <strong>init</strong>() takes 1 positional argument but 5 were given</p>