Skip to content

In this tuitorial, I show how to connect mysql database with python language.

Notifications You must be signed in to change notification settings

rahulcs754/CURD-MYSQL-PYTHON-OPERATION

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python Mysql Connection Process

  • download and install mysql Connector. for installation mysql connector below code have to run

''' $ python -m pip install mysql-connector '''

  • Now create one file and setup connection of mysql using follow command

''' import mysql.connector mydb = mysql.connector.connect( host="localhost", user="yourusername", passwd="yourpassword" ) print(mydb) '''

About

In this tuitorial, I show how to connect mysql database with python language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages