diff options
author | Davey Shafik <davey@php.net> | 2016-02-03 02:45:24 -0500 |
---|---|---|
committer | Davey Shafik <davey@php.net> | 2016-02-03 02:45:24 -0500 |
commit | f0ea8a8e3dc476e5deb1e6ef0c4dbe6237fe8459 (patch) | |
tree | 5e8ad48ab48b3d940e2e17c513d58b83a7e079a8 /README.md | |
parent | a8a17b83d51679a6ec6251f79e41f93b76b6b3f8 (diff) | |
parent | cb3cce2392a9022cc8493a93c76a113ebbb764e8 (diff) | |
download | php7-mysql-shim-f0ea8a8e3dc476e5deb1e6ef0c4dbe6237fe8459.zip php7-mysql-shim-f0ea8a8e3dc476e5deb1e6ef0c4dbe6237fe8459.tar.gz php7-mysql-shim-f0ea8a8e3dc476e5deb1e6ef0c4dbe6237fe8459.tar.bz2 |
Merge pull request #5 from gimler/mysql_defaults
Use INI defaults
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -26,5 +26,7 @@ Once the file is included, it will create `mysql_*` function if they don't alrea - Calls to `is_resource()` and `get_resource_type()` on MySQL connections and results will fail as these are now their `mysqli` equivalents. - Some errors are now from `ext/mysqli`, and others are `E_USER_WARNING` instead of `E_WARNING`. -- You must use the `mysqli.*` INI entries instead of `mysql.*` (e.g. `mysqli.default_user` instead of `mysql.default_usert`) +- You must use the `mysqli.*` INI entries instead of `mysql.*` (e.g. `mysqli.default_user` instead of `mysql.default_user`) - Column lengths reported by `mysql_field_len()` assume `latin1` +- If no host, username, password parameter is provided when using the `mysql_*` functions, the default values from the corresponding `mysqli.*` settings from `php.ini` file will be used +(e.g. `mysqli.default_host`, `mysqli.default_user`, `mysqli.default_pw`) |