Friday, September 26, 2008

Adding new user for mysql server

Always after I configured a mysql server in a machine (I have to do it once a month mostly as people always ask me to do so in their machines... ) I have to search the web (specially mysql website) and see how to add the new user including password for that syste.

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 password 'new password'

Then login to mysql (mysql -u root -p ) and issue following commands to create new users.

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 - විදුල හසරංග ~


Monday, September 22, 2008

Writing a picture...

Have you ever wrote a picture??? But you may draw pictures per many times (Atleast in your childhood). See how this pictures were written...

Can you imagine it????









~ Vidula Hasaranga - විදුල හසරංග ~


Thursday, September 18, 2008

Cleaver Sport advertisments

See how nice and creative these images are. Its truly a creative job done by a creative mind....




~ Vidula Hasaranga - විදුල හසරංග ~

Wednesday, September 17, 2008

Share/Bookmark