Closed antnun closed 3 years ago
BTW: if you share some tips on how to propose the fix via GITHUB as a pull request on the actual documentation file (not that skilled, on it) happy to do so..... I ave it a try, let's see how it goes.
I'm not sure that pymysql
is the right solution in the general case -- the package I'd normally recommend is mysqlclient
. I've updated the page to use that one (and to include some installation instructions for it).
Change the mysql import with pymysql on the following article
https://help.pythonanywhere.com/pages/AccessingMySQLFromOutsidePythonAnywhere
Section From Python code
Some users (me included) have been experiencing errors DB frozen errors while trying access the DB via SSH Tunnel using that code.
Articles with Examples on this Topic
My working example after changing that: