mysql.ini 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [MySQL]
  2. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
  3. ; http://php.net/mysql.allow_local_infile
  4. mysql.allow_local_infile = On
  5. ; Allow or prevent persistent links.
  6. ; http://php.net/mysql.allow-persistent
  7. mysql.allow_persistent = On
  8. ; If mysqlnd is used: Number of cache slots for the internal result set cache
  9. ; http://php.net/mysql.cache_size
  10. mysql.cache_size = 2000
  11. ; Maximum number of persistent links. -1 means no limit.
  12. ; http://php.net/mysql.max-persistent
  13. mysql.max_persistent = -1
  14. ; Maximum number of links (persistent + non-persistent). -1 means no limit.
  15. ; http://php.net/mysql.max-links
  16. mysql.max_links = -1
  17. ; Default port number for mysql_connect(). If unset, mysql_connect() will use
  18. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  19. ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
  20. ; at MYSQL_PORT.
  21. ; http://php.net/mysql.default-port
  22. mysql.default_port =
  23. ; Default socket name for local MySQL connects. If empty, uses the built-in
  24. ; MySQL defaults.
  25. ; http://php.net/mysql.default-socket
  26. mysql.default_socket =
  27. ; Default host for mysql_connect() (doesn't apply in safe mode).
  28. ; http://php.net/mysql.default-host
  29. mysql.default_host =
  30. ; Default user for mysql_connect() (doesn't apply in safe mode).
  31. ; http://php.net/mysql.default-user
  32. mysql.default_user =
  33. ; Default password for mysql_connect() (doesn't apply in safe mode).
  34. ; Note that this is generally a *bad* idea to store passwords in this file.
  35. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  36. ; and reveal this password! And of course, any users with read access to this
  37. ; file will be able to reveal the password as well.
  38. ; http://php.net/mysql.default-password
  39. mysql.default_password =
  40. ; Maximum time (in seconds) for connect timeout. -1 means no limit
  41. ; http://php.net/mysql.connect-timeout
  42. mysql.connect_timeout = 60
  43. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  44. ; SQL-Errors will be displayed.
  45. ; http://php.net/mysql.trace-mode
  46. mysql.trace_mode = Off