#Need help on the flask app, creating database isn't working.

9 messages · Page 1 of 1 (latest)

fading kraken
#

send the error and code please lol

real shell
fading kraken
#

t.tag paste

silk plinthBOT
fading kraken
#

@real shell

buoyant coyote
#

make sure that:

  • the database u trying to connect to is correctly configured in ur flask app
  • the table u wanna create doesnt already exist
  • the sql syntax u r using is correct (check the columns names and the data types and if there is any constrainst)
  • u have the necessary dependencies installed
#

also in case the error u r getting is not clear, try using python 'try-escept' block to better understand the error and take a screenshot of it for us to understand where u have the problem

#

like this