Python Database Connectivity(Using Xampp and PyCharm)Performing database queries using python code.

Published: 21 May 2021
on channel: Learning Fun
10,310
88

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.


On this page of the site you can watch the video online Python Database Connectivity(Using Xampp and PyCharm)Performing database queries using python code. with a duration of hours minute second in good quality, which was uploaded by the user Learning Fun 21 May 2021, share the link with friends and acquaintances, this video has already been watched 10,310 times on youtube and it was liked by 88 viewers. Enjoy your viewing!