Mysql_get_server_info () function

Source: Internet
Author: User

The Mysql_get_server_info () function is a PHP built-in system function.

The Mysql_get_server_info () function returns information about the MySQL server.

If successful, returns the version number of the MySQL server, or False if it fails.
Syntax: Mysql_get_server_info (Connection)

Parameters: Connection Optional. Specify MySQL connection. If not specified, the previous connection is used.

  1. $con = mysql_connect ("localhost", "Hello", "321");
  2. echo "MySQL server info:". Mysql_get_server_info ($con);
  3. ?>
Copy Code
Mysql
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.