How to Connect Django With MySQL Database | Works in Windows / MacOS / Linux by Code Band

preview_player
Показать описание
In this video, I'll be showing you how to connect Django with MySQL database easily that works on Windows, MacOS or Linux. We'll make use of XAMPP for MySQL and mysqlclient library for Django.
~ Code Band

Other videos & playlists on this Channel :

Render Django Form Manually - Make Custom Form with Form Validations :

:) You Can Find Me On:
Рекомендации по теме
Комментарии
Автор

Hey mate. Is your project and virtual env directory inside htdocs of xampp or nah?

carlajoyceloresma
Автор

i am getting a error like

raise to create the django_migrations table (%s)" % exc)
Unable to create the django_migrations table ((1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the righ
t syntax to use near '(6) NOT NULL)' at line 1"))

bhuvanasindhae
Автор

I have some data in the mysqli database on django before, but after connecting to mysql the data is not entered, then how do I enter the previous data into myslq? Please help

hanivianovanda
Автор

hi i got it like this message "NameError: name '_mysql' is not defined"

muratonat
Автор

I got an error to install mysqlclient called "ERROR: Command errored out with exit status 1:"

mazharulalam
Автор

I got an NameError : name '_mysql' is not defined

taranpreetkaur