wpdb::db_server_info()

Returns the version of the MySQL server.


Return

(string) Server version as a string.


Source

File: wp-includes/class-wpdb.php

	public function db_server_info() {
		return mysqli_get_server_info( $this->dbh );
	}

Changelog

Changelog
Version Description
5.5.0 Introduced.