wpdb::db_server_info()
Retrieves full MySQL server information.
Return Return
(string|false) Server info on success, false on failure.
Source Source
File: wp-includes/wp-db.php
public function db_server_info() { if ( $this->use_mysqli ) { $server_info = mysqli_get_server_info( $this->dbh ); } else { $server_info = mysql_get_server_info( $this->dbh ); } return $server_info; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
5.5.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
You can Retrieve the MySQL server version on frontend by global declaration.