====== metaDatabases ====== ~~NOTOC~~ == Syntax == mixed metaDataBases(){} ===== Description ===== The function ''metaDatabases()'' returns a list of the databases visible to the connected user. If the driver does not support the command then it returns ''false''. Visibility of a database does not assume any rights are available to the connected user. ===== Usage ===== The data is returned as a numeric array with the visible databases in lower case. Whenever possible, system databases are excluded. /* * Connection to MySQL database assumed */ $d = $db->metaDatabases(); print_r($d); /* * returns Array ( [0] => piwik [1] => test [2] => world [3] => user_database ) */