Connect Python to MariaDB/MySQL Database [Nearly everything you need to know in 9 minutes!]

preview_player
Показать описание
Nearly everything you need to know about the Python MySQL Connector in under 9 minutes.

After watching this video, you will know how to easy connect to a MariaDB or MySQL database using Python.

This video covers using python to read, write, and execute DDL commands using a Python and the mysql-connector package either in an IDE such as Spyder or within a Flask or Django Application.

0:00 Install packages
0:15 Connect to database
1:00 Create Database
2:00 Create Table
2:47 Insert commands
4:54 Basic select commands
5:55 Select commands with where
6:38 Complex select commands
7:19 Drop commands
Рекомендации по теме
Комментарии
Автор

Just a quick thank you for this tutorial both for connector installation and the usage example. Everything worked straight away. Thanks

siamakshams
Автор

Thanks very much. I'm comfortable with Python syntax and just wanted a quick introduction to mariadb and this was perfect! Followed this utilizing a Raspberry Pi 3+ with Buster installed and worked like a champ.

Steven-jfcs
Автор

thanks man!! the documentation did not do a good job specifying that I needed to explicitly commit each insert and the execute/fetch syntax was confusing, thanks to you I could finally make it work

furiousfellow
Автор

Thank you. This tutorial have helped me enormously.

christianlopez
Автор

Sadly, everything I can learn in nine minutes I can forget in one minute.
Great tutorial, just what I needed.
It would help if the source code was bigger. It's a nuisance having to keep switching to and from full screen when you are copying code. I expect a lot of people using this tutorial are, like me, coding a headless Raspberry Pi using VNC viewer on a laptop, which makes window resizing a bit of a pain.

oldbloke
Автор

for connecting to mariadb, mariadb connector also available. When to use mysql connector and mariadb connector?

asishmishra
Автор

How can I create a gui what will work for mariadb

philippstoon
Автор

cant read the text and there is this huge wasted area on the right

samuelallen
Автор

Great content but the microphone just. My poor speaker cones.

TotallyFriedChannel
welcome to shbcf.ru