Question: Write a python script to connect to a mysql database and prompt the user for a word. Search the database for the user's word. If
Write a python script to connect to a mysql database and prompt the user for a word. Search the database for the user's word. If it exists, prompt the user to update it to a new word. Otherwise, add the word. Ensure you are escaping your inputs to prevent SQL injection.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
