db.ini 480 B

123456789101112131415161718192021222324
  1. ;数据库配置
  2. [common]
  3. ;是否读写分离
  4. readOrWriteSeparation = 0
  5. driver = pdo
  6. ;使用的数据库类型
  7. use_db_driver = mysql
  8. master[db] = DB_NAME
  9. master[host] = DB_HOST
  10. master[user] = DB_USER
  11. master[password] = DB_PASSWORD
  12. slave[0.db] = DB_NAME
  13. slave[0.host] = DB_HOST
  14. slave[0.user] = DB_USER
  15. slave[0.password] = DB_PASSWORD
  16. slave[1.db] = DB_NAME
  17. slave[1.host] = DB_HOST
  18. slave[1.user] = DB_USER
  19. slave[1.password] = DB_PASSWORD
  20. [product:common]