PHP7 mysqlnd-ms/alternatives

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
zlanka
Forum Newbie
Posts: 1
Joined: Tue May 03, 2016 1:43 am

PHP7 mysqlnd-ms/alternatives

Post by zlanka »

Hi,
I'm currently using mysqlnd-ms to load blalance slave reads and route write queries to master. Tried compiling mysqlnd-ms with php7 but compilation fails because of considerable changes to underlying mysql_nd. How is rest of the world solving this problem? are there alternatives to mysqlnd-ms, and maxscale (maxscale routes prepared statements to master so useless).

Thanks.
User avatar
Christopher
Site Administrator
Posts: 13595
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: PHP7 mysqlnd-ms/alternatives

Post by Christopher »

I don't see that there is an alternative. It is a PECL module. Perhaps you could take a look at the code and see if you can resolve the compilation problems.
(#10850)
sertab
Forum Newbie
Posts: 1
Joined: Mon Feb 26, 2018 8:18 am

Re: PHP7 mysqlnd-ms/alternatives

Post by sertab »

There is now a fork of this extension with new functionalities and porting to php 7.x, it is available at https://github.com/sergiotabanelli/mymysqlnd_ms
Post Reply