Explain GRANT command in MySQL.



Explain GRANT command in MySQL...

Answer / 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

More MySQL Interview Questions

What happens when the column is set to AUTO INCREMENT and if you reach maximum value in the table?

0 Answers  


How much does mysql enterprise cost?

0 Answers  


How would you get the current date in mysql?

0 Answers  


How many types of indexes are there in mysql?

0 Answers  


Is there a way to see the files which are stored?

0 Answers  






Transactions are used to treat sets of SQL statements atomically. State Whether True or False?

0 Answers  


Which mysql function is used to concatenate string?

1 Answers  


What is heap table in mysql?

0 Answers  


What is the data source name for mysql?

0 Answers  


What is mysql protocol?

0 Answers  


How to extract a unit value from a date and time?

0 Answers  


what is the Dynamic management views? where can you use?

1 Answers   ACC,


Categories