db_config.ini 822 B

123456789101112131415161718192021222324252627282930313233343536
  1. ;[mysql_config]
  2. ;# ------------------------- 注意这里是配置生产环境的MySQL信息 -------------------------
  3. ;# 数据库连接主机
  4. ;host=rm-bp1c9cj79872tx3aaro.mysql.rds.aliyuncs.com
  5. ;# 数据库端口号
  6. ;port=3306
  7. ;# 用户名
  8. ;user=superc
  9. ;# 密码
  10. ;password=Cc719199895
  11. ;# 数据库名称
  12. ;database=quchen_text
  13. ;# 数据库连接池最大连接数
  14. ;maxconnections=20
  15. ;# 数据库连接池最小缓存数
  16. ;mincached=5
  17. ;# 数据库连接池最大缓存数
  18. ;maxcached=10
  19. [mysql_config]
  20. # 数据库连接主机
  21. host = localhost
  22. # 数据库端口号
  23. port = 3306
  24. # 用户名
  25. user = root
  26. # 密码
  27. password = root
  28. # 数据库名称
  29. database = quchen_text
  30. # 数据库连接池最大连接数
  31. maxconnections = 20
  32. # 数据库连接池最小缓存数
  33. mincached = 5
  34. # 数据库连接池最大缓存数
  35. maxcached = 10