microsoft / mysqlnd_azure

mysqlnd_azure is an extension for mysqlnd which enables redirection functionality.
Other
10 stars 17 forks source link

PHP 8.1 removed support for local_tx functionality #31

Open cmb69 opened 2 years ago

cmb69 commented 2 years ago

See https://github.com/php/php-src/commit/277e169ef3db80573cb81e80ab55e7d853648a91.

If this functionality is required by mysqlnd_azure, it might be an option to restore it in ext/mysqlnd. Otherwise, mysqlnd_azure should be adapted to cater to this, if support for PHP 8.1 is desired.

essedi commented 2 years ago

It does not compile on 8.1 due to this issue.

simonbuerger commented 2 years ago

As with most things PHP related and Microsoft this repo looks well and truly abandoned

tuutti commented 2 years ago

We ended up migrating from Single Server to Flexible Server which (afaik) doesn't need this plugin anymore: https://learn.microsoft.com/en-us/azure/mysql/flexible-server/

It seems to perform much better as well: image