Created
November 14, 2018 11:45
-
-
Save bikashthapa01/56aa7cf35fc0f493009bf3e8ba02deb1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1. Download & Install XAMPP Server From https://www.apachefriends.org/download.html & Run Apache and MYSQL from XAMPP Control Panel | |
# 2. Open Browser and Check http://localhost/phpmyadmin link is working ? | |
# Database | |
# https://docs.djangoproject.com/en/2.1/ref/settings/#databases | |
# DATABASES = { | |
# 'default': { | |
# 'ENGINE': 'django.db.backends.sqlite3', | |
# 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), | |
# } | |
# } | |
DATABASES = { | |
'default': { | |
'ENGINE': 'django.db.backends.mysql', | |
# 'NAME': 'managerpro', # Database name created in phpmyadmin | |
'USER': 'root', # username of phpmyadmin (Default is root) | |
'PASSWORD': '', # password (Default is Blank) | |
'HOST': 'localhost', | |
'PORT': '3325', # try 3306 here | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment