Get the complete Flask course on Udemy – https://www.udemy.com/python-flask-beginners/?couponCode=YOUTUBE In this video, you will learn how to connect …

source

29
Leave a Reply

avatar
29 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
0 Comment authors
Antonio OchoaLuis ArroyoJeedeks LapidarioRahul KumarSaayan Das Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Eva Felton
Guest

Very helpful and useful, thank you!

pawar yashwant
Guest

I am getting error,

MySQLdb._exceptions.OperationalError

MySQLdb._exceptions.OperationalError: (2005, "Unknown MySQL server host 'mysql_host' (11001)")

Titir Jaidka
Guest

A big thanks! Really helpful video.

Abhishek Bailore
Guest

mysql = MySQL(app)
I am getting invalid syntax in this line.

My import statement is from flask_mysqldb import MySQL

Can any one help me with this?

Rajath K.S
Guest

I am getting, instance of 'MYSQL' has no 'connection' member pylint(no-member)

Demo user
Guest

hi can you please tell me how to write api in flask front end as angular and server as python

Andres G Garcia Gutierrez
Guest

I keep getting "ModuleNotFoundError: No module named 'flask_mysqldb'" and I did start off with the pip3 install commands. Any suggestions? Already searched up many solutions none of them haave been working.

P Brolic
Guest

The recap at the end was so helpful. Thank you.

skeeveskeeve
Guest

For the life of me I could not get flask_mysqldb to work, I ended up just using mysql.connector – great lesson though, learned a lot. Also, I found that closing the cursor introduced a bug, leaving it open resolved the issue.

Akshdeep Singh
Guest

great and simple tutorial !!
but what is requirement of yaml file ??
is it for security ?

Radhe Govinda
Guest

flask-mysqldb is unable to get installed in python3

Island Hopper
Guest

Anyone else getting this error?Please advise.

Traceback (most recent call last):
File ".app.py", line 8, in <module>
app.config['MYSQL_HOST']=db['mysql_host']
TypeError: string indices must be integers

T N V S S G Sri Vidya
Guest

Thank you so much sir video was very helpful for our project

J Jose
Guest

Great video! Thanks so much! How do we add where clause to display only one row for a specific user? I mean if we just wanna search for a particular username in db and display the corresponding row. I would really appreciate it if you can explain or guide me to other resources.

cry8871
Guest

Hi when i enter pip install Flask-mysqldb i cant install it , is there other steps that have to be done before installing it?

Vicky Kumar
Guest

from flask_mysqldb import MySQL ,MySQLdb not working

Luis Arroyo
Guest

Thank you bro, you´re the best. Greetings from Mexico!

Jeedeks Lapidario
Guest

Hi. Can you add a Login Logout form with the main page?

Rahul Kumar
Guest

it can't be easier and better than this. crisp and to the point.

Saayan Das
Guest

how to get data from mysqldb in web-api as tab format with fieldnames like as database??

Jan Zaplatil
Guest

hello great video. But i am having a problem. After importing from flask_mysqldb import MySQL and restarting server i get an error : from flask mysqldb import _MySQL ModuleNotFoundError: No module named 'flask mysqldb'

HARSHIT SINGHAL
Guest

Great video sir ,
Sir can you please show same by postgre sql

yuvan bajjurla
Guest

from flask_mysqldb import MySQL
ModuleNotFoundError: No module named 'flask_mysqldb'

yuvan bajjurla
Guest

TypeError: The view function did not return a valid response. The function either returned None or ended without a return statement

Pratik K. Tiwari
Guest

Perfect explanation.

Lintang Wisesa
Guest

Great & easy-to-be-followed tutorial! I'll try to create an IoT backend project using Flask & MySQL later. Thx for sharing!

Sarvesh Lautner
Guest

Internal Server Error
127.0.0.1 – – [28/Dec/2018 21:47:27] "GET / HTTP/1.1" 200 –

[2018-12-28 21:47:33,073] ERROR in app: Exception on / [POST]
What to do??

Boris Kayi
Guest

Great video, I really like the way you explain

Antonio Ochoa
Guest

Thanks bro. This is such a great tutorial!