
上QQ阅读APP看书,第一时间看更新
There's more…
This looks like a good improvement if you have a small number of database servers. If you have many different database servers, you may want to think about using a connection service file instead (see the next recipe), or perhaps even storing details on a Lightweight Directory Access Protocol (LDAP) server.