Try using the code below.
Code:
// Set the database access information as constants
define ('DB_USER', 'helmet_admin');
define ('DB_PASSWORD', 'YOUR_PW');
define ('DB_HOST', 'localhost');
define ('DB_NAME', 'helmet_learndb');
// Make the connection and then select the database.
$dbc = @mysql_connect (DB_HOST, DB_USER, DB_PASSWORD) OR die ('Could not connect to MySQL: ' . mysql_error() );
@mysql_select_db (DB_NAME) OR die ('Could not select the database: ' . mysql_error() );
If using phpMyAdmin:
1) login with your db admin account
2) click on "Privileges"
3) make sure "helmet_admin" exists
4) Global privileges set to "ALL PRIVILEGES"
5) Grant set to "Yes"
If you've got root access, you should be able to connect to the Db using root and the root password.
I prefer using mySQLCC (mySQL Control Center) since it can be used independent of a browser.
Hope that helps...