我无法从Django连接到远程 MySQL服务器.该安装程序使用多个数据库:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'ldatabase', # Or path to database file if using sqlite3.
# The following settings are not used with sqlite3:
'USER': 'luser',
'PASSWORD': 'lpass',
'HOST': '', # Empty for localhost through domain sockets or '127.0.0.1' for localhost through TCP.
'PORT': '', # Set to empty string for default.
},
'physics': {
'ENGINE': 'django.db.backends.mysql', # Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.
'NAME': 'rdatabase&