Need help to troubleshoot mysqlnd_ms setup on PHP72 with php-fpm

I need help in troubleshooting why php-fpm isnt loading the mysqlnd_ms plugin. I am attempting to setup a Ubuntu 18 droplet to RW Master/Slave with DO Managed MySQL.

I have installed dependencies and compiled mysqlnd_ms port based on instruction found here

I got several errors when running command “make test”, here’s the log

I created the json config file, added these lines to php and then restarted service mysqlnd_ms.enable=1 mysqlnd_ms.config_file=/etc/mysqlnd_ms_plugin.json

When inspecting phpinfo(), mysqlnm_ms doesnt appear to be loading and test connections returns the “php_network_getaddresses: getaddrinfo failed” error.

Anyone can point out what I did wrong here?

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi @davidDolphin,

The issue most probably comes around the make command. If you experienced issues when running make test it would mean the system was missing some dependency. I’ll recommend you to remove the plugin and try to compile it again this time making sure the make test command executes without an error.

Regards, KDSys