Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

12
  • I've tried this and now get the error: 'ValueError: database flavor mysql is not supported' Why do you think I may need SQLAlchemy? Is there an issue with the way I'm approaching the problem? Commented Aug 31, 2017 at 19:33
  • it seems other flavors are not supported, so i guess you should switch to SQLAlchemy, or export the datas from dataframes with another way Commented Aug 31, 2017 at 19:38
  • do I swap 'pymysql' with 'SQLAlchemy'? Commented Sep 1, 2017 at 10:18
  • @NickDuddy, could you try with the edited solution ? Commented Sep 1, 2017 at 16:50
  • 1
    Just changed '@<host>[:<port>]' to '@<host>:<port>'. Now getting a different error: 'UnicodeEncodeError: 'latin-1' codec can't encode character '\u2013' in position 151: ordinal not in range(256)' Commented Sep 3, 2017 at 17:53