Latest mssql-django db backend (officially from Microsoft) for Django 3.2 (LTS) MS SQL Server setup

  Рет қаралды 7,950

Pulun Code

Pulun Code

Күн бұрын

Пікірлер: 16
@gulamfahadahmed9365
@gulamfahadahmed9365 11 ай бұрын
Thanks a lot, your 2 years ago video helped me today!
@puluncode9929
@puluncode9929 11 ай бұрын
Glad to know that
@asgeralia8802
@asgeralia8802 2 жыл бұрын
superb, this what i have been searching for the past 1 months. it is very helpful video....thanks.....
@puluncode9929
@puluncode9929 2 жыл бұрын
Great! Glad to know you've found what you are looking for.
@classico360
@classico360 Жыл бұрын
Thank you very much!
@marwinfrancis6294
@marwinfrancis6294 3 жыл бұрын
Very Informative! How is it possible to connect Django with existing tables on a MS SQL Server?
@puluncode9929
@puluncode9929 3 жыл бұрын
Hi! You can use inspectdb tool by executing manage.py inspectdb command. This tool will create models.py file that is similar to your existing table(s). After the creation, you can check and customize it if required. I believe it is a helping hand rather than you type and refer to your existing table manually. The best reference that I can give you is this : django-book.readthedocs.io/en/latest/chapter18.html#integrating-with-a-legacy-database .😀
@marwinfrancis6294
@marwinfrancis6294 3 жыл бұрын
@@puluncode9929 Thanks for taking the time to reply. This is really useful
@puluncode9929
@puluncode9929 3 жыл бұрын
@@marwinfrancis6294
@킴슈-j5g
@킴슈-j5g Жыл бұрын
😍😍😍😍😍
@kanchanasupun
@kanchanasupun 5 ай бұрын
Hi ! Iam using Local Host with Windows authenticator. how can i connect Please help me
@puluncode9929
@puluncode9929 5 ай бұрын
I recommend you to use sql server authentication. but if you still want to use it with windows authentication, you need to change the settings in Step 6 of this video Python DATABASES = { 'default': { 'ENGINE': 'mssql', 'NAME': 'yourdatabasename', 'HOST': 'yourservername', 'OPTIONS': { 'driver': 'ODBC Driver 17 for SQL Server', # Adjust if needed 'Trusted_Connection': 'yes', # Enable Windows Authentication }, } } Hope this helps
@zulfiqar7967
@zulfiqar7967 3 жыл бұрын
Will it support for Ms Sql server 2012 version??
@puluncode9929
@puluncode9929 3 жыл бұрын
According to github.com/microsoft/mssql-django#features this engine has been tested on ms sql 2016, 2017 and 2019. None of them mentions about ms sql 2012. Don't worry, as for your question, I've test it with MS SQL 2012. Good news. Yes, mssql-django supports MS SQL 2012 version. it works bro...
@alexanderconley5164
@alexanderconley5164 8 ай бұрын
thanks for the video, however, i seem to get an error when i try to make migrations. see error msg below: Got an error checking a consistent migration history performed for database connection 'default': ('08001', '[08001] [Microsoft][ODBC Driver 17 for SQL Server]Neither DSN nor SERVER keyword supplied (0) (SQLDriverConnect); [08001] [Microsoft][ODBC Driver 17 for SQL Server]Invalid connection string attribute (0)') warnings.warn(
@puluncode9929
@puluncode9929 5 ай бұрын
I believe it is regarding your Django to ms sql server. You can try to troubleshoot from the steps of this url : www.mssqltips.com/sqlservertip/2340/resolving-could-not-open-a-connection-to-sql-server-errors/
Django Python Connect To MS SQL Server Display Records
21:55
Haritha Computers & Technology
Рет қаралды 34 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 118 МЛН
Connecting Django with MS SQL Database
25:03
Chukwuemeka Ochuba
Рет қаралды 300
Microservices with Databases can be challenging...
20:52
Software Developer Diaries
Рет қаралды 110 М.
How to Use VS Code to Run SQL on a Database
15:06
Database Star
Рет қаралды 307 М.
SQLAlchemy: The BEST SQL Database Library in Python
16:39
ArjanCodes
Рет қаралды 89 М.
FastAPI, Flask or Django - Which Should You Use?
9:49
Tech With Tim
Рет қаралды 111 М.
Run Microsoft SQL Server on a Mac (M1/M2)
6:51
Learning and Technology with Frank
Рет қаралды 61 М.
How To Connect To SQL Server In Python
4:41
Jie Jenn
Рет қаралды 166 М.
Intro To SSMS - Get to know SQL Server Management Studio
50:08
IAmTimCorey
Рет қаралды 56 М.
Was I Wrong About Blazor? | Coding Shorts 111
16:35
Shawn Wildermuth
Рет қаралды 27 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН