Is the top version of the mysql client on the web server affecting PHP requests?

I have two RHEL servers, one for hosting a PHP application, one for hosting a MySQL server.

MySQL database version 5.6.21 is installed on the database server.

When creating the application server, I asked to install rpm MySQL-client-advanced-5.6.21-1.el6.x86_64(to match the server), but people with hardware do not like this version, since 5.6.27 is available, which fixes some vulnerabilities.

The question arises:

Does the client version of mysql on the application server use database queries coming from a PHP application?

We use PDO to connect to MySQL and query.

If we do this, is an application server needed even for the mysql client library?

Please let me know if I can clarify. Thanks!

+4
2

PHP / MySQL. MySQL-client-advanced - CLI mysql. PHP .

PHP ( PDO) php-pdo php-mysqlnd. php-mysqlnd " MySQL" . mysqli pdo-mysql.

: php-mysqlnd MySQL.

+1

Mysql

MySQL Native Driver MySQL (libmysqlclient). MySQL Native Driver PHP PHP 5.3.0.

https://dev.mysql.com/doc/apis-php/en/apis-php-mysqlnd.html

0

Source: https://habr.com/ru/post/1613857/


All Articles