title: (MySQLdb.NotSupportedError) (1235, 'charset/name utf8mb3 is not supported') using sqlalchemy and planetscale
body: <p>I am trying to connect to my database on planetscale with sqlalchemy, but it gives me this error:</p>
  <pre><code>Exception has occurred: NotSupportedError
  (MySQLdb.NotSupportedError) (1235, 'charset/name utf8mb3 is not supported')
  (Background on this error at: https://sqlalche.me/e/14/tw8g)
  
  The above exception was the direct cause of the following exception:
  
    File &quot;C:\Users\redacted\Desktop\transf-system\app.py&quot;, line 4, in &lt;module&gt;
      db.create_all()
  </code></pre>
  <p>I connect to my database using a URI, and I added <code>?charset=utf8mb4</code> to the end, but that hasnt fixed anything. Here is the URI:</p>
  <pre><code>app.config[&quot;SQLALCHEMY_DATABASE_URI&quot;] = &quot;mysql://redacted:redacted@redacted:3306?ssl=true?charset=utf8mb4&quot;
  </code></pre>