update doc
This commit is contained in:
Родитель
88ed2655d0
Коммит
e9c35ac792
|
@ -1,9 +1,9 @@
|
|||
# PHP mysqlnd redirection extension mysqlnd_azure
|
||||
The source code here is a PHP extension implemented using mysqlnd plugin API (https://www.php.net/manual/en/mysqlnd.plugin.php), which provides redirection feature support. The extension is also available on PECL website at https://pecl.php.net/package/mysqlnd_azure.
|
||||
|
||||
**Important notice:**
|
||||
**Important notice for prerequisites to use redirection:**
|
||||
- There is a limitation for Azure DB for MySQL where redirection is only possible when the connection is configured with SSL and only works with TLS 1.2 with a FIPS approved cipher for redirection.
|
||||
- On the server side, redirection also needs to be enabled. You can enable redirection by updating the **redirect_enabled** server parameter using the [Azure portal](https://docs.microsoft.com/azure/mysql/howto-server-parameters) or [Azure CLI](https://docs.microsoft.com/azure/mysql/howto-configure-server-parameters-using-cli). This setting is OFF by default.
|
||||
- On the server side, redirection also needs to be enabled. You can enable redirection by updating the **redirect_enabled** server parameter using the [Azure portal](https://docs.microsoft.com/azure/mysql/howto-server-parameters) or [Azure CLI](https://docs.microsoft.com/azure/mysql/howto-configure-server-parameters-using-cli). You can also use "show global variables like 'redirect_enabled'" to check the current redirection enable status on server side.
|
||||
|
||||
## Option Usage
|
||||
**Before 1.1.0**, the option is with name **mysqlnd_azure.enabled**. Valid values are on/off, and the option "on" supports fallback logic. The detailed usage of the option enableRedirect is as follows:
|
||||
|
|
Загрузка…
Ссылка в новой задаче