msql_list_dbs() will return a result pointer containing the databases available from the current msql daemon. Use the msql_result() function to traverse this result pointer.
For downward compatibility, the alias named msql_listtables() may be used. This, however, is deprecated and not recommended.