WordPress at Your Fingertips
function is not described

wp_check_mysql_version() WP 2.1.0

Checks the version of the installed MySQL binary.

No Hooks.

Return

null. Nothing.

Usage

wp_check_mysql_version();

Notes

  • Global. wpdb. $wpdb WordPress database abstraction object.

Changelog

Since 2.1.0 Introduced.

Code of wp_check_mysql_version() WP 5.8.2

function wp_check_mysql_version() {
	global $wpdb;
	$result = $wpdb->check_database_version();
	if ( is_wp_error( $result ) ) {
		wp_die( $result );
	}
}