Django GAE deployment DATABASE setting

5 views
Skip to first unread message

Solomon Mbak

unread,
Aug 7, 2019, 7:34:58 AM8/7/19
to Django users
Hi guys. 

I've spent a few hours on this one, all to no avail. 

I'm trying to reply my Django App on Google App Engine, but I get errors on the database connection. I tried configurations as shown below, but it still isn't connecting. I need help please;


DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'MySQL_db_Name',
'USER': 'root',
'PASSWORD': '************',
'HOST': 'project_Name:us-central1:my_DB_instance_Name',
}
}
I really need help. 
Thanks a lot.  
Reply all
Reply to author
Forward
0 new messages