WordPress at a glance
function is not described

wpdb::db_server_info() public WP 5.5.0

Retrieves full MySQL server information.

{} It's a method of the class: wpdb{}

No Hooks.

Return

String/false. Server info on success, false on failure.

Usage

global $wpdb;
$wpdb->db_server_info();

Changelog

Since 5.5.0 Introduced.

Code of wpdb::db_server_info() WP 5.5.1

<?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;
}