Report this

What is the reason for this report?

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

Posted on March 29, 2020

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?



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!

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.