wp_check_mysql_version() WordPress Function
The wp_check_mysql_version() function is used to check the version of the MySQL database server installed on a WordPress site. This function is useful for sites that are running on older versions of MySQL, as it can help to ensure that the site is compatible with the latest version of WordPress.
wp_check_mysql_version() #
Checks the version of the installed MySQL binary.
Source
File: wp-admin/includes/upgrade.php
function wp_check_mysql_version() { global $wpdb; $result = $wpdb->check_database_version(); if ( is_wp_error( $result ) ) { wp_die( $result ); } }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |