From e9c35ac7920433a37797e2deca45648361fe90e6 Mon Sep 17 00:00:00 2001 From: Qianqian Bu Date: Thu, 28 May 2020 15:38:10 +0800 Subject: [PATCH] update doc --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ae3ff5..c72afd9 100644 --- a/README.md +++ b/README.md @@ -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: