So I thought its better to put it in my blog so I just want to search in my blog only rather than going through the mysql website.
After creating the mysql database you have to create the root password for the system. For that run the following commands from the mysql folder (You need to start the mysql server before issuing those):
./bin/mysqladmin -u root password 'new password'
./bin/mysqladmin -u root -h
GRANT ALL PRIVILEGES ON *.* TO 'monty'@'localhost' IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON *.* TO 'monty'@'%' IDENTIFIED BY 'some_pass' WITH GRANT OPTION;
GRANT RELOAD,PROCESS ON *.* TO 'admin'@'localhost';
GRANT USAGE ON *.* TO 'dummy'@'localhost';
Hope this information is useful to all of you...
~ Vidula Hasaranga - විදුල හසරංග ~