Description
This function returns information about the account's MySQL® host.
Examples
Note:
Use cPanel's API Shell interface (Home >> Advanced >> API Shell) to directly test cPanel API calls.
Parameters
This function does not accept parameters.
Returns
Return |
Type |
Description |
Possible values |
Example |
host |
string |
The MySQL server's hostname. |
A MySQL hostname or IP address. |
localhost |
version |
string |
The MySQL server's version. |
A valid string. |
5.6.23 |
is_remote |
Boolean |
Whether the host is a remote MySQL server. |
|
1 |