Setup database connection with mysql
diff --git a/MySQL.cnf b/MySQL.cnf
new file mode 100644
index 0000000..f7df16d
--- /dev/null
+++ b/MySQL.cnf
@@ -0,0 +1,6 @@
+# MySQL.cnf
+[client]
+database = scorecard_server
+user = root
+password = mysql
+default-character-set = utf8
\ No newline at end of file
diff --git a/scorecardapp/settings.py b/scorecardapp/settings.py
index 8becdb8..c7de068 100644
--- a/scorecardapp/settings.py
+++ b/scorecardapp/settings.py
@@ -99,6 +99,12 @@
# https://docs.djangoproject.com/en/2.1/ref/settings/#databases
DATABASES = {
'default': {
+ 'ENGINE': 'django.db.backends.mysql',
+ 'OPTIONS': {
+ 'read_default_file': 'my.cnf',
+ },
+ },
+ 'sqlite3': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}