mysql_list_dbs

mysql_list_dbs -- list MySQL databases on server

Description

int mysql_listdbs(void);

mysql_listdbs() will return a result pointer containing the databases available from the current mysql daemon. Use the mysql_dbname() function to traverse this result pointer.

For downward compatibility mysql_listdbs() can also be used.