Skip to content

problem with localhost my sql #5

Description

@xmen1412

first of all, your tutorial is impressive. but i have a problem in mysql section.

when i click the article button,register or login there's exception like this:

_mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL server on 'localhost' (10061)")

i change the parameter of app.run() with `app.run(debug=True,host = '0.0.0.0') but, it doesn't work.

and

i am confused with app.secret_key='secret123' what does it mean that code?

`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions