mysql_list_dbs([link_identifier])

Description: List databases available on a MySQL server.

Retrieves information about databases on the current server (or that are associated with link_identifier if given) and returns a result pointer. This pointer (denoted in this appendix by result) can then be passed to other functions that use result (such as mysql_db_name()) to return information on database names.

See also: mysql_db_name()

Get Sams Teach Yourself MySQL in 21 Days, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.