Explain GRANT command in MySQL.
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 |
How to filter data from a mysql database table with php?
What are the different data types in mysql?
Where does mysql store data?
How do you start MySQL on Linux?
How to drop an existing table in mysql?
What are date and time data types?
How to write query to select word java's from column employees and from emp table
How to show all tables with 'mysql'?
What is the difference between mysql_fetch_assoc and mysql_fetch_array?
How to dump one database for backup.
What is general log in mysql?
What are federated tables?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)