How to Install and Uninstall php-mysqlnd-ms Package on Ubuntu 21.10 (Impish Indri)

Last updated: October 06,2024

1. Install "php-mysqlnd-ms" package

This tutorial shows how to install php-mysqlnd-ms on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install php-mysqlnd-ms

2. Uninstall "php-mysqlnd-ms" package

Learn how to uninstall php-mysqlnd-ms on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove php-mysqlnd-ms $ sudo apt autoclean && sudo apt autoremove

3. Information about the php-mysqlnd-ms package on Ubuntu 21.10 (Impish Indri)

Package: php-mysqlnd-ms
Priority: optional
Section: php
Installed-Size: 12
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.6.0+svn333622-11+ubuntu21.10.1+deb.sury.org+3
Depends: php5.6-mysqlnd-ms
Pre-Depends: php-common (>= 2:69~)
Filename: pool/main/p/php-mysqlnd-ms/php-mysqlnd-ms_1.6.0+svn333622-11+ubuntu21.10.1+deb.sury.org+3_amd64.deb
Size: 3928
MD5sum: bb1b39db27ec459d8e8a27d2241cd949
SHA1: 6a676a74984fc30682f169287302f1c63c9b693b
SHA256: 98ea0ce0572a7d439fba96cfb571b3c3cb647ab6a74c281bec60961f443ce217
Description-en: MySQL replication and load balancing module for PHP
The mysqlnd_ms replication and load balancing plugin can be used with
PHP MySQL extensions (ext/mysql, ext/mysqli, ext/pdo_mysql) if they
are compiled to use mysqlnd. The plugin inspects queries and does
read-write splitting. Read-only queries are sent to MySQL replication
slave servers while all other queries are redirected to the MySQL
replication master server. Very few, if any, application changes are
required, depending on the usage scenario.
Description-md5: f753221ffb5c9d5b0fbb7a86b21e1f5e