成功解决:sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string

ArgumentError

成功解决:sqlalchemy.exc.ArgumentError: Could not parse rfc1738 URL from string

wrong reason

  • Use sqlacodegen of this error is generated from a database table model.py
flask-sqlacodegen ‘mysql://root:@127.0.0.1/food_db’

As used herein is to double quotes to single quotes

flask-sqlacodegen "mysql://root:@127.0.0.1/food_db"
Published 29 original articles · won praise 19 · views 1304

Guess you like

Origin blog.csdn.net/s1156605343/article/details/104988159