http://docs.djangoproject.com/en/dev/ref/databases/#connecting-to-the-database

Putting your database in the DMZ is probably a very bad idea... You
don't want to give the entire internet access to your database. The
standard Django setup expects your database to be accessible on the
same local network as your Django app. Other than that, there is no
special setup.

On Sep 13, 9:37 am, Mario <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I would like to move off the existing database server off Django.
> Currently, my settings.py file include the following configuration:
>
> DATABASE_ENGINE = 'mysql'               # 'postgresql_psycopg2',
> 'postgresql', 'mysql', 'sqlite3' or 'oracle'.
>
> DATABASE_NAME = 'golf_prod'                   # Or path to database
> file if using sqlite3.
>
> DATABASE_USER = 'dbadmin'               # Not used with sqlite3.
>
> DATABASE_PASSWORD = 'xxxxx'         # Not used with sqlite3.
>
> DATABASE_HOST = ''                             # Set to empty string
> for localhost. Not used with sqlite3.
>
> DATABASE_PORT = ''                             # Set to empty string
> for default. Not used with sqlite3.
>
> Question – I need to move the Mysql Server off our  DMZ and into our
> protected internal network. Can I simply point the URL in the
> DATABASE_HOST . Any suggestions or recommendations?
>
> V/R
>
> _Mario
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to