WP > Show DB info in Admin Dashboard

add following lines to dashboard.php

	/* gz show database */
        GLOBAL $table_prefix;
	echo "<p><b>Database:</b> ".DB_USER." with prefix \"".$table_prefix."\" on ".DB_HOST."</p>";

Tags:

Leave a Reply