Django Book 翻译
菜单>:
TOC
返回
原文:
As far as Django is concerned, the process of separating out the database server is extremely easy: youll simply need to change the ``DATABASE_HOST`` setting to the IP or DNS name of your database server. Its probably a good idea to use the IP if at all possible, as relying on DNS for the connection between your Web server and database server isnt recommended.
翻译:
对于Django来说,把数据库服务器分离开来很容易:只需要简单地修改 ``DATABASE_HOST`` ,设置为新的数据库服务器的IP地址或者DNS域名。设置为IP地址总是一个好主意,因为使用DNS域名,还要牵涉到DNS服务器的可靠性连接问题。
备注:
译者: