Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Include Page | ||||
---|---|---|---|---|
|
Description
Excerpt |
---|
This function lists the databases for which a user has authorization. |
Include Page | ||||
---|---|---|---|---|
|
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
|
Parameters
This function does not accept parameters.
Returns
Return | Type | Description | Possible values | Example | |||||
---|---|---|---|---|---|---|---|---|---|
array of hashes | An array of hashes that contain information about a database user and the user's authorized databases. | Each hash contains the dbuser and dbs returns. | |||||||
| string | The database user's name. The function returns this value in the unnamed hash. | A valid username. | example_user1 | |||||
| array | A list of the user's authorized databases. The function returns this value in the unnamed hash. | A valid database name or names. | example_database | |||||
reason | string | A reason for failure.
| A string that describes the error. | This is an error message. | |||||
result | Boolean | Whether the function succeeded. |
| 1 |
Panel | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Function information
About this moduleThe MysqlFE module manages MySQL databases, users, and services. About cPanel API 2
Find a function
Livesearch |
Related functions
|
HideElements | ||
---|---|---|
|