Skip to content

flask-mysql not working on my centos vps #1

Open

Description

@mtahle

hi
I was following your tutorial to deploy web app using python,,
pip install flask-mysql was giving some errors
I searched google and find flask-mysqldb and it works fine with me
also in app.py I changed "from flask.ext.mysql import MySQL" to from flask.ext.mysqldb import MySQL

http://flask-mysqldb.readthedocs.io/en/latest/

Activity

  1. gnany07 commented on Apr 6, 2019

    @gnany07

    In python3 , "from flask.ext.mysql import MySQL" changed to "from flaskext.mysql import MySQL".
    This should work fine.

  2. flameastro commented on Jul 13, 2026

    @flameastro

    did you try to go in #7 ? @mtahle

  3. mtahle commented on Jul 14, 2026

    @mtahle
    Author

    did you try to go in #7 ? @mtahle

    My comment is 10 years old 😆

  4. flameastro commented on Jul 14, 2026

    @flameastro

    lol, i dont even see the date sorry

  5. mtahle commented on Jul 14, 2026

    @mtahle
    Author

    No worries @flameastro
    It was like traveling back in time when we have to use google to solve coding issues without AI agents

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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