how do i add table values in mysql using python code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how do i add table values in mysql using python code

i have made tables in mysql before making them in python so now i am trying to make a code in python from which i can add new values in that mysql tables i have made a code but it is giving nameerror

7th Nov 2023, 12:00 PM
Ayushi
2 Answers
+ 4
Here is a good GFG tutorial: https://www.geeksforgeeks.org/JUMP_LINK__&&__python__&&__JUMP_LINK-mysql-insert-into-table/amp/ You will just need the database connection details so that you can configure the connection 👍
7th Nov 2023, 12:33 PM
Keith
Keith - avatar
+ 1
Post your code
9th Nov 2023, 5:26 PM
Toni Isotalo
Toni Isotalo - avatar