Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

I dont know how to connect mysql to python here. Please help me

+2 votes
asked Jul 6 by pegi (220 points)

1 Answer

+1 vote
answered Jul 6 by Peter Minarik (55,660 points)

Does this help?

https://dev.mysql.com/doc/connector-python/en/connector-python-example-connecting.html

Note, OnlineGDB does not have support for the package mentioned in the above solution, but on your own PC you can install whatever packages you'd like (see how here).

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...