diff --git a/reference/mysqlinfo/set.xml b/reference/mysqlinfo/set.xml index c33e0f0026..337ca8cc30 100644 --- a/reference/mysqlinfo/set.xml +++ b/reference/mysqlinfo/set.xml @@ -18,7 +18,7 @@ Overview of the MySQL PHP drivers - + @@ -101,7 +101,7 @@ Sometimes people use the terms connector and driver interchangeably, - this can be confusing. In the MySQL-related documentation the term + this can be confusing. In the MySQL-related documentation the term driver is reserved for software that provides the database-specific part of a connector package. @@ -142,10 +142,10 @@ Choosing an API - PHP offers three different APIs to connect to MySQL. Below we show - the APIs provided by the mysqli, mysqli, and PDO extensions. Each code snippet - creates a connection to a MySQL server running on "example.com" using - the username "user" and the password "password". And a query is run to + PHP offers three different APIs to connect to MySQL. Below we show + the APIs provided by the mysqli, mysqli, and PDO extensions. Each code snippet + creates a connection to a MySQL server running on "example.com" using + the username "user" and the password "password". And a query is run to greet the user. @@ -182,12 +182,12 @@ echo htmlentities($row['_message']); It is recommended to use either the mysqli - or PDO_MySQL extensions. + or PDO_MySQL extensions. It is not recommended to use the old mysql extension for new development. A detailed feature comparison matrix is provided below. The overall performance of all three extensions is considered to be about the same. Although the performance of the extension contributes only a fraction - of the total run time of a PHP web request. Often, the impact is as low as 0.1%. + of the total run time of a PHP web request. Often, the impact is as low as 0.1%. Feature comparison @@ -198,7 +198,7 @@ echo htmlentities($row['_message']); ext/mysqli - PDO_MySQL w/ mysqlnd + PDO_MySQL ext/mysql @@ -319,14 +319,14 @@ echo htmlentities($row['_message']); Choosing a library - The mysqli, PDO_MySQL and mysql PHP extensions are lightweight wrappers on + The mysqli, PDO_MySQL and mysql PHP extensions are lightweight wrappers on top of a C client library. The extensions can either use the mysqlnd library or the libmysql library. Choosing a library is a compile time decision. The mysqlnd library is part of the PHP distribution since 5.3.0. It offers - features like lazy connections and query caching, features that are not available + features like lazy connections and query caching, features that are not available with libmysql, so using the built-in mysqlnd library is highly recommended. See the mysqlnd documentation for additional details, and a listing of features and functionality that it offers. @@ -351,7 +351,7 @@ $ ./configure --with-mysqli=/path/to/mysql_config --with-pdo-mysql=/path/to/mysq It is recommended to use the mysqlnd library instead of the MySQL Client Server library (libmysql). Both - libraries are supported and constantly being improved. + libraries are supported and constantly being improved.