Question

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 https://github.com/sergiotabanelli/mysqlnd_ms

I got several errors when running command “make test”, here’s the log https://pastebin.com/jTGYCf0U

I created the json config file, added these lines to php and then restarted service extension=mysqlnd_ms.so 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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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