DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', "HOST":"127.0.0.1", "PORT":'3306', "NAME":'lucax', "USER":'root', "PASSWORD":'root', 'OPTIONS': { "unix_socket": "/Applications/MAMP/tmp/mysql/mysql.sock", 'init_command': "SET sql_mode='STRICT_TRANS_TABLES'" , 'charset': 'utf8mb4', } }}