How To Connect Django To MySQL Step By Step - Beginner Tutorial

Programming With Miko
Programming With Miko
36.5 هزار بار بازدید - 4 سال پیش - In this Django tutorial I
In this Django tutorial I will be showing you how to connect to a MySQL database instead of using the default sqlite database that comes with Django.

While sqlite may be great for small-scale applications you may want to plan ahead and take advantage of a more robust database.

MySQL is a great database for production and deployment of your application and offers functionality for managing and securing your data.

In this video I was using django and MySQL in windows but this will work in all operating systems

The functions I ran during speedup(after creating my new folder):
cd tutorial
python -m venv env
env\Scripts\activate
pip install django

Django docs for databases:
https://docs.djangoproject.com/en/3.0...

If you have any questions leave a comment below and I will get back to you

For more great videos about python, django and programming in general subscribe to my channel
4 سال پیش در تاریخ 1399/02/12 منتشر شده است.
36,566 بـار بازدید شده
... بیشتر