Wordpress stores version of the MySQL database currently being used in the wp_db_version global variable. Like wp_version, it is set in [wordpress root folder]/wp-includes/version.php.
Plugin and theme developers can use this variable to check for their features specific to a database version.
Back to full list of global variables.
Technorati tags: wp_db_version

June 26th, 2006 at 7:41 am
[...] $wp_db_version [...]