resource mysql_list_dbs ([ resource $link_identifier ] )
Returns a result pointer containing the databases available from the current mysql daemon.
Warning This function has been DEPRECATED as of PHP 5.4.0. Relying on this function is highly discouraged.
Returns a result pointer resource on success, or FALSE on failure. Use the mysql_tablename() function to traverse this result pointer, or any function for result tables, such as mysql_fetch_array().