mysql-native v3.0.0
API Reference Home: [This Version] [Latest Version] [Other Versions]
Function MetaData.databases
List the available databases
string[] databases();
Note that if you have connected using the credentials of a user with limited permissions you may not get many results.
Returns
An array of strings