How To Use MySQL Database With Django In Python

preview_player
Показать описание
On this tutorial, I would be showing how to configure settings in Django to start using MySQL.

Create a virtual environment.
pipenv shell

Install django and mysqlclient
pip install django
pip install mysqlclient

Create a project
django-admin startproject youtubedemo

Run migrate

Run server

Buy Me Coffee
Рекомендации по теме
Комментарии
Автор

Thank you so much I was getting this _mysql error all time in my Mac and I don't knew hot to fix it. You saved my ass bro!

ruansantiago
Автор

Are you a Filipino, sir? You sound like one. Anyway, thank you so much, this video helped me out a lot!

Kingslayer