A WordPress-centric search engine for devs and theme authors



wp_check_mysql_version ›

Since2.1.0
Deprecatedn/a
wp_check_mysql_version ( No parameters )
Defined at:
Codex:

Checks the version of the installed MySQL binary.



Source

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