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 mysqlndms 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=mysqlndms.so
mysqlnd
ms.enable=1
mysqlndms.configfile=/etc/mysqlndmsplugin.json

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

Anyone can point out what I did wrong here?

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.

×
1 answer

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

  • Hi @KDSys

    I have figured out what the issues was and in short it was noob mistake. Long story short, php 7.4 had updated that day and it compiled under this new version. Once I realize my idiocy, everything started to work.

    Thanks for taking time to reply.

Submit an Answer