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 is the difference between unix timestamp and mysql timestamp?

0 Answers  


Is mysql is a programming language?

0 Answers  


What is ACID?

2 Answers  


How do you say mysql?

0 Answers  


Can mongodb replace mysql?

0 Answers  


How many sql ddl commands are supported by 'mysql'?

0 Answers  


What is view in mysql?

0 Answers  


What is dbms in mysql?

0 Answers  


How to Creating a new user. Login as root. Switch to the MySQL db. Make the user. Update privs.

0 Answers  


How to calculate the difference between two dates?

0 Answers  


How can you make a database as your current database?

0 Answers  


Is mysql a good database?

0 Answers  


Categories