Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Explain GRANT command in MySQL.

Answer Posted / hrindows@gmail.com

When a new MySQL user is created, it requires certain privileges to perform various database operations.
GRANT command grants certain privileges to the user.
For example below statement grants permission to run SELECT and INSERT on TABLE customertable to user username@localhost.
GRANT SELECT, INSERT ON customertable TO ‘username’@’localhost’

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pragma serially_reusable and why is it used?

866


What could be the reason that the mysql statement 'select avg (salary) from emp' generates an inaccurate output?

921


Can we store images in mysql database?

907


how can you test for null values in a database? : Mysql dba

938


Is postgresql better than mysql?

1037


What is bdb (berkeleydb)?

947


How to allow the user "sonia" to connect to the server from localhost using the password "passwd". Login as root. Switch to the mysql db. Give privs. Update privs.

1064


How is mysql database stored?

1073


How do you know if your mysql server is alive?

1075


What is a blob datatype?

865


What is difference between mysql and mysql workbench?

957


How do I rename a mysql database?

959


What is view? How can you create and drop view in mysql?

934


Which is faster innodb or myisam?

1052


What is dblink?

896