How to Install and Uninstall php-mysqlnd-ms Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: October 06,2024

1. Install "php-mysqlnd-ms" package

This tutorial shows how to install php-mysqlnd-ms on Ubuntu 16.04 LTS (Xenial Xerus)

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

2. Uninstall "php-mysqlnd-ms" package

This is a short guide on how to uninstall php-mysqlnd-ms on Ubuntu 16.04 LTS (Xenial Xerus):

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

3. Information about the php-mysqlnd-ms package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: php-mysqlnd-ms
Priority: optional
Section: php
Installed-Size: 11
Maintainer: Debian PHP PECL Maintainers
Architecture: amd64
Version: 1.6.0+svn333622-10+ubuntu16.04.1+deb.sury.org+1
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-10+ubuntu16.04.1+deb.sury.org+1_amd64.deb
Size: 3834
MD5sum: 006b849b90c32b7320e100f6a9ebffb3
SHA1: e800c4921a1a4b60cc5a8d4734cadf607d2d0f2a
SHA256: 4fd1e38fb602fab7e598a6468daf9a07d6caaba3853dbfa7c5ed1083c9e64aeb
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