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