Description
This function lists a MySQL® database's name, username length restrictions, and database prefix.
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 |
max_database_name_length |
integer |
The maximum length of a MySQL database name. |
A positive integer that represents the number of characters that a MySQL database name can contain. |
64 |
max_username_length |
integer |
The maximum length of a MySQL database user's name. |
A positive integer that represents the number of characters that a MySQL database user's name can contain. |
16 |
prefix |
string |
The account's database prefix, if database prefixing is enabled. |
|
user_ |