In MySql, logged in as the administrator (same account as for mysqladmin), you can do:
show databases
to get a list of all the installed databases.
use some_database
(where some_database is replaced by the actual database's name)
makes you use a certain database.
Privileges and other MySql system stuff is often stored in the INFORMATION_SCHEMA database.
If you "use" that, you can alter privileges (provided you logged in under the database administrator account)
and thus give you access to the databases (if you didn't already have it).
Check out the MySql website & docs for info on the INFORMATION_SCHEMA database and it's tables.
|