There is another -perhaps more complicated - way to addusers and/or permission(s). When you are using mysql in the commandline try show databases as in the following example.
mysql> show databases;
+------------+
| Database |
+------------+
| jsp_test |
| log_access |
| mattie |
| mysql |
| test |
+------------+
You should see a mysql database in the outputted info. I believe this is installed automatically. Now connect to mysql database.
mysql> \u test
Database changed
Use show tables to checkout the tables in the database. You will find a user table that you can manipulate directly.
mysql> show tables;
+-----------------+
| Tables_in_mysql |
+-----------------+
| columns_priv |
| db |
| func |
| host |
| tables_priv |
| user |
+-----------------+
You can use insert to add data to user, and you can use update to change the data you have already entered into the table:
insert into user (Host, User, Password, Select_priv, Insert_priv, Update_priv,Delete_priv,Create_priv,Drop_priv,Reload_priv, Shutdown_priv,Process_priv,File_priv, Grant_priv, References_priv, Index_priv,Alter_priv) values ('localhost', 'admin', '', 'Y', 'Y', 'Y','Y', 'Y', 'Y','Y', 'Y','Y','Y', 'Y', 'Y', 'Y', 'Y')