Used By
Used By | Description |
---|---|
wp-includes/wp-db.php: wpdb::db_version() | Retrieves the MySQL server version. |
Retrieves full MySQL server information.
(string|false) Server info on success, false on failure.
File: wp-includes/wp-db.php
public function db_server_info() { if ( $this->use_mysqli ) { $server_info = mysqli_get_server_info( $this->dbh ); } else { $server_info = mysql_get_server_info( $this->dbh ); } return $server_info; }
Version | Description |
---|---|
5.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wpdb/db_server_info