mysqlnd_azure

mysqlnd_azure - a redirection plugin for mysqlnd


mysqlnd extension for azure

License: PHP License

Latest releases

Version Release Download
1.1.1 2020-08-06 mysqlnd_azure-1.1.1.tgz
1.1.0 2020-02-14 mysqlnd_azure-1.1.0.tgz
1.0.3 2020-02-10 mysqlnd_azure-1.0.3.tgz
1.0.3RC 2020-01-16 mysqlnd_azure-1.0.3RC.tgz
1.0.2 2019-11-20 mysqlnd_azure-1.0.2.tgz
Show all releases

Changelog

Version Message
1.1.1 - 1. New connection attribute "_extension_version", indicate the mysqlnd_azure extension build version.
- 2. Fix memory collect mnd_ prefix alloc crash and add a test case for enable mysqlnd.collect_memory_statistics.
- 3. Add support for two redirection info format.
- 4. Add support to enable runtime log, check myslqnd_azure_log.md
- 5. Add doc for general troubleshooting.
1.1.0 - 1. Rename option mysqlnd_azure.enabled to mysqlnd_azure.enableRedirect.
- 2. Add a new option choice "preferred".
- 3. When enableRedirect is "on", ssl is off, no connection will be made, return error "mysqlnd_azure.enableRedirect is on, but SSL option is not set in connection string. Redirection is only possible with SSL."
- 4. When enableRedirect is "on", but on server side redirection is not available, abort the first connection and return error "Connection aborted because redirection is not enabled on the MySQL server or the network package doesn't meet meet redirection protocol."
- 5. When enableRedirect is "on" and server supports redirection, but the redirected connection failed for any reason, also abort the first proxy connection. Return the error of the redirected connection.
- 6. When enableRedirect is "preferred", it will use redirection if possible.
If connection does not use SSL, or server does not support redirection, or redirected connection fails to connect for any non-fatal reason while the proxy connection is still a valid one, it will fallback to the first proxy connection.
1.0.3 - Remove the use of is_using_redirect flag. More strict validation and test cases with php built-in web server.
1.0.3RC - apply fix for the crash problem when working with PDO interface with flag PDO::ATTR_PERSISTENT=>false.
- avoid redirect when ssl is false. Other performance improvement and refactor.
1.0.2 - apply fix for database null/empty problem change in https://github.com/php/php-src/pull/4340 in MYSQLND_METHOD(mysqlnd_conn_data, connect) to MYSQLND_METHOD(mysqlnd_azure_data, connect)
Show complete changelog