![]() | mysql_list_dbs说明resource mysql_list_dbs ( [resource link_identifier] )mysql_list_dbs() 将返回一个结果指针,包含了当前 MySQL 进程中所有可用的数据库。用 mysql_tablename() 函数来遍历此结果指针,或者任何使用结果表的函数,例如 mysql_fetch_array()。
为向下兼容仍然可以使用 mysql_listdbs(),但反对这样做。 参见 mysql_db_name()。 | ![]() | |