database.php 513 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * 配置文件
  4. */
  5. return [
  6. // 数据库类型
  7. 'type' => 'mysql',
  8. // 服务器地址
  9. 'hostname' => '127.0.0.1',
  10. // 数据库名
  11. 'database' => 'technician',
  12. // 用户名
  13. 'username' => 'technician',
  14. // 密码
  15. 'password' => 'nskj321%',
  16. // 端口
  17. 'hostport' => '3306',
  18. // 数据库编码默认采用utf8
  19. 'charset' => 'utf8mb4',
  20. // 数据库表前缀
  21. 'prefix' => 'xh_',
  22. "authcode" => 'hgkeEXxlqbQq2dRV8d',
  23. //#COOKIE_PREFIX#
  24. ];