Skip to content

getServerVersion

Corey Avis edited this page Sep 23, 2026 · 2 revisions

getServerVersion

Retrieves the software version string of the connected MySQL server.

📌 This information is also automatically collected and included in the global report returned by getDiagnostics().

Usage

getServerVersion(): string

Parameters

  • Takes no arguments.

Return Value

(string) : Returns the software version of the connected MySQL server.

Examples

$db->getServerVersion()

Debug Errors

  • No debug errors.

Related Methods

getDiagnostics | getHostInfo | getProtocolVersion


Home | CoreyDB | Environment

Clone this wiki locally