List all database
<?php mysql_connect("mysql153.secureserver.net","java2s","password"); $dbs = mysql_list_dbs(); echo "Databases: <br />"; while (list($db) = mysql_fetch_row($dbs)) { echo "$db <br />"; } ?>
1. | List all tables in a database | ||
2. | Get MySQL server information | ||
3. | Get MySQL host information | ||
4. | Get MySQL client information | ||
5. | Print all MySQL status value |