There are the following steps to connect a python application to nour database.
Import mysql.connector module.
Create the connection object.
Create the cursor object.
Execute the query.
Install PyCharm and Xampp
Install mysql-connector and ConnectorDB python library packages.
In PyCharm Go to File--Settings--PythonProject--Interpreter--In search bar type package name.
Write the program to Connect to the database.
In Xampp Control Panel,
Start the Mysql and Apache Server.Then go to Admin button in front of Mysql.Then in webpage opens named PhpMyAdmin create your database following the steps shown in the video.
Please subscribe my channel for more project ideas and more educational videos.
In questa pagina del sito puoi guardare il video online Python Database Connectivity(Using Xampp and PyCharm)Performing database queries using python code. della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Learning Fun 21 maggio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 10,310 volte e gli è piaciuto 88 spettatori. Buona visione!