You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then you need to connect to MySQL using a command like (assuming that you have adjusted User Authentication and Privileges):
and create the new empty database like that: mysql -u username -p
Then install PyMySQL using pip. CREATE DATABASE dbname;
Then it's time to set the connection string for flask-SQLAlchemy in the .env file that will look like: SQLALCHEMY_DATABASE_URI=mysql+pymysql://root:password@localhost/db_users
Hi I believe you're using a MySQL db in this example. Can you please tell us how to setup the database ?
The text was updated successfully, but these errors were encountered: